Fix MinGW build
authorSfan5 <sfan5@live.de>
Sun, 1 Dec 2013 19:58:46 +0000 (20:58 +0100)
committerSfan5 <sfan5@live.de>
Sun, 1 Dec 2013 19:58:46 +0000 (20:58 +0100)
src/script/lua_api/l_async_events.h

index 3364bac6e7b816d239fdaecd151c6a6e9054afcc..c33f3a962c6d31b04df620f14c6d3b2b73edea9f 100644 (file)
@@ -23,7 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <vector>
 #include <map>
 
-#ifndef _MSC_VER
+#ifndef _WIN32
 #include <unistd.h>
 #else
 #define _WINSOCKAPI_