We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3ffe896 + ac121a0 commit e52accbCopy full SHA for e52accb
configure.ac
@@ -4,7 +4,9 @@ AC_INIT([Haskell network package],
4
[network])
5
6
dnl See also HsNet.h
7
-ac_includes_default="#define _GNU_SOURCE 1 /* for struct ucred on Linux */
+ac_includes_default="#ifndef _WIN32
8
+# define _GNU_SOURCE 1 /* for struct ucred on Linux */
9
+#endif
10
$ac_includes_default
11
12
#ifdef _WIN32
include/HsNet.h
@@ -19,7 +19,9 @@
19
# endif
20
#endif
21
22
-#define _GNU_SOURCE 1 /* for struct ucred on Linux */
+#ifndef _WIN32
23
24
25
#define __APPLE_USE_RFC_3542 1 /* for IPV6_RECVPKTINFO */
26
27
0 commit comments