projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f26b917
)
Some more mop-up for Windows IPv6 support. Andrew Dunstan
author
Tom Lane
Fri, 26 Aug 2005 03:15:12 +0000
(
03:15
+0000)
committer
Tom Lane
Fri, 26 Aug 2005 03:15:12 +0000
(
03:15
+0000)
src/include/port/win32/sys/socket.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/port/win32/sys/socket.h
b/src/include/port/win32/sys/socket.h
index 86950699e4d36c9f1e80129ada0e832fc82dafdf..c9798060d6cd324bad52db116aa9af90e232dbb6 100644
(file)
--- a/
src/include/port/win32/sys/socket.h
+++ b/
src/include/port/win32/sys/socket.h
@@
-5,6
+5,7
@@
*
* Note: Don't include
directly. It causes compile errors.
*/
+#include
#include
#undef ERROR
#undef small
@@
-13,4
+14,11
@@
#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