Some more mop-up for Windows IPv6 support. Andrew Dunstan
authorTom Lane
Fri, 26 Aug 2005 03:15:12 +0000 (03:15 +0000)
committerTom Lane
Fri, 26 Aug 2005 03:15:12 +0000 (03:15 +0000)
src/include/port/win32/sys/socket.h

index 86950699e4d36c9f1e80129ada0e832fc82dafdf..c9798060d6cd324bad52db116aa9af90e232dbb6 100644 (file)
@@ -5,6 +5,7 @@
  *
  * Note: Don't include  directly.  It causes compile errors.
  */
+#include 
 #include 
 #undef ERROR
 #undef small
 #ifdef PGERROR
 #define ERROR PGERROR
 
+/* 
+ * we can't use the windows gai_strerror{AW} functions because
+ * they are defined inline in the MS header files. So we'll use our
+ * own
+ */
+#undef gai_strerror
+
 #endif