test/stdafx.h
@@ -10,8 +10,8 @@ #define NOMINMAX 1 #endif //NOMINMAX #ifndef _WIN32_WINNT // ÔÊÐíʹÓÃÌØ¶¨ÓÚ Windows XP »ò¸ü¸ß°æ±¾µÄ¹¦ÄÜ¡£ #define _WIN32_WINNT 0x0501 // ½«´ËÖµ¸ü¸ÄΪÏàÓ¦µÄÖµ£¬ÒÔÊÊÓÃÓÚ Windows µÄÆäËû°æ±¾¡£ #ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 #endif #include <WinSock2.h>