1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-22 17:42:17 +03:00

Rename Win32 include directory from win32_include to win32.

This commit is contained in:
Bruce Momjian
2003-05-19 17:31:59 +00:00
parent 08d7e1c20e
commit 36adb2e095
9 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,15 @@
/*
* Unfortunately, <wingdi.h> of VC++ also defines ERROR.
* To avoid the conflict, we include <windows.h> here and undefine ERROR
* immediately.
*
* Note: Don't include <wingdi.h> directly. It causes compile errors.
*/
#include <winsock2.h>
#undef ERROR
#undef small
/* Restore old ERROR value */
#ifdef PGERROR
#define ERROR PGERROR
#endif

View File