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:
5f58880
)
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:51 +0000
(09:41 -0500)
committer
Andrew Dunstan
<
[email protected]
>
Tue, 4 Jan 2011 14:41:51 +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 a4a3b2266a91fdc572e3f9dfe8828111bafeb6ef..cbccf348e717c1ab5e0ebf3c5bbf50cbc3961569 100644
(file)
--- a/
src/backend/libpq/pqcomm.c
+++ b/
src/backend/libpq/pqcomm.c
@@
-383,7
+383,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,