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:
d5b2587
)
Work around header misdefines in modern Windows SDK when _WIN32_WINNT is less than...
author
Andrew Dunstan
<
[email protected]
>
Tue, 4 Jan 2011 14:42:04 +0000
(09:42 -0500)
committer
Andrew Dunstan
<
[email protected]
>
Tue, 4 Jan 2011 14:42:04 +0000
(09:42 -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 06aece31dc403818fb311c38c40e1f48eb544f03..c1775ea45bd51963c795b4156abddd1b7ff97ad5 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,