socket.h
来自「PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开」· C头文件 代码 · 共 33 行
H
33 行
/* * $PostgreSQL: pgsql/src/include/port/win32/sys/socket.h,v 1.7 2006/10/04 00:30:10 momjian Exp $ */#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>#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 */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?