summaryrefslogtreecommitdiffhomepage
path: root/auto/os/darwin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/os/darwin4
1 files changed, 3 insertions, 1 deletions
diff --git a/auto/os/darwin b/auto/os/darwin
index b4b3ad306..429468f7f 100644
--- a/auto/os/darwin
+++ b/auto/os/darwin
@@ -17,6 +17,9 @@ ngx_spacer='
MAIN_LINK=
MODULE_LINK="-shared -Wl,-undefined,dynamic_lookup"
+CC_AUX_FLAGS="$CC_AUX_FLAGS -D__APPLE_USE_RFC_3542"
+
+
# kqueue
echo " + kqueue found"
@@ -86,7 +89,6 @@ ngx_feature_test="int kq;
# sendfile()
-CC_AUX_FLAGS="$CC_AUX_FLAGS"
ngx_feature="sendfile()"
ngx_feature_name="NGX_HAVE_SENDFILE"
ngx_feature_run=yes