Eneboo - Documentación para desarrolladores
src/libpq/include/port/win32/sys/socket.h
Ir a la documentación de este archivo.
00001 /*
00002  * Unfortunately, <wingdi.h> of VC++ also defines ERROR.
00003  * To avoid the conflict, we include <windows.h> here and undefine ERROR
00004  * immediately.
00005  *
00006  * Note: Don't include <wingdi.h> directly.  It causes compile errors.
00007  */
00008 #include <ws2tcpip.h>
00009 #include <winsock2.h>
00010 #undef ERROR
00011 #undef small
00012 
00013 /* Restore old ERROR value */
00014 #ifdef PGERROR
00015 #define ERROR PGERROR
00016 
00017 /*
00018  * we can't use the windows gai_strerror{AW} functions because
00019  * they are defined inline in the MS header files. So we'll use our
00020  * own
00021  */
00022 #undef gai_strerror
00023 
00024 #endif
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'