1
0
mirror of https://github.com/yarrick/iodine.git synced 2024-11-22 04:56:07 +03:00

osflags: on Haiku, require BSD headers and lib

This commit is contained in:
François Revol 2023-11-18 18:19:14 +01:00
parent b82bc776b3
commit 8ba813f08e

View File

@ -13,7 +13,7 @@ link)
echo '-lsocket -lbind -lbsd'; echo '-lsocket -lbind -lbsd';
;; ;;
Haiku) Haiku)
echo '-lnetwork'; echo '-lnetwork -lbsd';
;; ;;
windows32) windows32)
echo '-lws2_32 -liphlpapi'; echo '-lws2_32 -liphlpapi';
@ -35,6 +35,9 @@ cflags)
BeOS) BeOS)
echo '-Dsocklen_t=int'; echo '-Dsocklen_t=int';
;; ;;
Haiku)
echo '-D_DEFAULT_SOURCE';
;;
Darwin) Darwin)
echo '-D__APPLE_USE_RFC_3542'; echo '-D__APPLE_USE_RFC_3542';
;; ;;