]> arthur.barton.de Git - ngircd-alex.git/commitdiff
define HAVE_GAI_STRERROR for Mac OS X Xcode builds
authorAlexander Barton <alex@barton.de>
Sat, 24 Dec 2011 12:16:38 +0000 (13:16 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 24 Dec 2011 12:16:38 +0000 (13:16 +0100)
On Mac OS X 10.7 Lion, this fixes

  In file included from .../contrib/MacOSX/../../src/ngircd/client.c:28:
   /Developer/SDKs/MacOSX10.7.sdk/usr/include/netdb.h:272:13:
   error: expected identifier or '('

contrib/MacOSX/config.h

index 86b460b159fceccc9201b8a18dcced65548da37d..5b47e9da7ac277b4baf8411013dff10bc2611f76 100644 (file)
@@ -74,6 +74,8 @@
 /* Define to 1 if you have the <netinet/ip.h> header file. */
 #define HAVE_NETINET_IP_H 1
 
+/* Define to 1 if you have the `gai_strerror' function. */
+#define HAVE_GAI_STRERROR 1
 /* Define to 1 if you have the `kqueue' function. */
 #define HAVE_KQUEUE 1
 /* Define to 1 if you have the `inet_ntoa' function. */