Skip to content

Commit a310a1d

Browse files
committed
Some more mop-up for Windows IPv6 support. Andrew Dunstan
1 parent f26b917 commit a310a1d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/include/port/win32/sys/socket.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*
66
* Note: Don't include <wingdi.h> directly. It causes compile errors.
77
*/
8+
#include <ws2tcpip.h>
89
#include <winsock2.h>
910
#undef ERROR
1011
#undef small
@@ -13,4 +14,11 @@
1314
#ifdef PGERROR
1415
#define ERROR PGERROR
1516

17+
/*
18+
* we can't use the windows gai_strerror{AW} functions because
19+
* they are defined inline in the MS header files. So we'll use our
20+
* own
21+
*/
22+
#undef gai_strerror
23+
1624
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy