From 7f0a1793403ff20c8cc436475d9b4dc57a957cd0 Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Tue, 7 Dec 2010 22:29:31 +0000 Subject: [PATCH] - bugfix for vc++ compile (added #define for mingw) --- source/shared_lib/include/platform/posix/socket.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/shared_lib/include/platform/posix/socket.h b/source/shared_lib/include/platform/posix/socket.h index e83fc687..3d0a274c 100644 --- a/source/shared_lib/include/platform/posix/socket.h +++ b/source/shared_lib/include/platform/posix/socket.h @@ -25,7 +25,12 @@ using std::string; #ifdef WIN32 - #include + #ifdef __MINGW32__ + #include + #else + #include + #endif + typedef SOCKET PLATFORM_SOCKET; #else #include