Klaus Demo nginx / 97210c7
Enabled IPV6_RECVPKTINFO / IPV6_PKTINFO on macOS. This change allows setting the destination IPv6 address of a UDP datagram received on a wildcard socket. Sergey Kandaurov 5 years ago
2 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
1515
1616 MAIN_LINK=
1717 MODULE_LINK="-shared -Wl,-undefined,dynamic_lookup"
18
19 CC_AUX_FLAGS="$CC_AUX_FLAGS -D__APPLE_USE_RFC_3542"
20
1821
1922 # kqueue
2023
8588
8689 # sendfile()
8790
88 CC_AUX_FLAGS="$CC_AUX_FLAGS"
8991 ngx_feature="sendfile()"
9092 ngx_feature_name="NGX_HAVE_SENDFILE"
9193 ngx_feature_run=yes
66
77 #ifndef _NGX_DARWIN_CONFIG_H_INCLUDED_
88 #define _NGX_DARWIN_CONFIG_H_INCLUDED_
9
10
11 #define __APPLE_USE_RFC_3542 /* IPV6_PKTINFO */
912
1013
1114 #include <sys/types.h>