![]() Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : fdshops ( 1003) PHP Version : 8.2.21 Disable Function : NONE Directory : /usr/include/pgsql/server/port/win32/sys/ |
/* * src/include/port/win32/sys/socket.h */ #ifndef WIN32_SYS_SOCKET_H #define WIN32_SYS_SOCKET_H /* * 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> #include <ws2tcpip.h> #include <windows.h> #undef ERROR #undef small /* Restore old ERROR value */ #ifdef PGERROR #define ERROR PGERROR #endif /* * 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 /* WIN32_SYS_SOCKET_H */