Skip to content
Snippets Groups Projects
Commit a310a1d8 authored by Tom Lane's avatar Tom Lane
Browse files

Some more mop-up for Windows IPv6 support. Andrew Dunstan

parent f26b9176
No related branches found
No related tags found
No related merge requests found
......@@ -5,6 +5,7 @@
*
* Note: Don't include <wingdi.h> directly. It causes compile errors.
*/
#include <ws2tcpip.h>
#include <winsock2.h>
#undef ERROR
#undef small
......@@ -13,4 +14,11 @@
#ifdef 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment