null+****@clear*****
null+****@clear*****
2010年 7月 5日 (月) 13:46:54 JST
Kouhei Sutou 2010-07-05 04:46:54 +0000 (Mon, 05 Jul 2010) New Revision: dbeeecdf7bfafcb38ba8f192d10b5e320bd64340 Log: use Windows XP API in MinGW for getaddrinfo(). Modified files: lib/groonga_in.h Modified: lib/groonga_in.h (+2 -1) =================================================================== --- lib/groonga_in.h 2010-07-05 04:46:14 +0000 (40f5df9) +++ lib/groonga_in.h 2010-07-05 04:46:54 +0000 (719cc8c) @@ -83,7 +83,7 @@ #ifdef __GNUC__ # include <w32api.h> -# define WINVER Windows2000 +# define WINVER WindowsXP #else # pragma warning(disable: 4996) # include <io.h> @@ -92,6 +92,7 @@ #include <basetsd.h> #include <process.h> #include <winsock2.h> +#include <ws2tcpip.h> #include <windows.h> #include <stddef.h> #include <windef.h>