projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2892fd5
)
Work around header misdefines in modern Windows SDK when _WIN32_WINNT is less than...
author
Andrew Dunstan
<
[email protected]
>
Tue, 4 Jan 2011 14:41:18 +0000
(09:41 -0500)
committer
Andrew Dunstan
<
[email protected]
>
Tue, 4 Jan 2011 14:41:18 +0000
(09:41 -0500)
src/backend/libpq/pqcomm.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/libpq/pqcomm.c
b/src/backend/libpq/pqcomm.c
index 14662e501f3013c2acb7489be3be88d18caa3ec2..db79ca8eed394da820351e02d5c314cd30230b37 100644
(file)
--- a/
src/backend/libpq/pqcomm.c
+++ b/
src/backend/libpq/pqcomm.c
@@
-361,7
+361,7
@@
StreamServerPort(int family, char *hostName, unsigned short portNumber,
}
#endif
-#if
def IPV6_V6ONLY
+#if
defined(IPV6_V6ONLY) && defined(IPPROTO_IPV6)
if (addr->ai_family == AF_INET6)
{
if (setsockopt(fd, IPPROTO_IPV6, IPV6_V6ONLY,