Some more mop-up for Windows IPv6 support. Andrew Dunstan
This commit is contained in:
parent
f26b91761b
commit
a310a1d80c
@ -5,6 +5,7 @@
|
|||||||
*
|
*
|
||||||
* Note: Don't include <wingdi.h> directly. It causes compile errors.
|
* Note: Don't include <wingdi.h> directly. It causes compile errors.
|
||||||
*/
|
*/
|
||||||
|
#include <ws2tcpip.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#undef ERROR
|
#undef ERROR
|
||||||
#undef small
|
#undef small
|
||||||
@ -13,4 +14,11 @@
|
|||||||
#ifdef PGERROR
|
#ifdef PGERROR
|
||||||
#define ERROR 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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user