Fixed: Compilation under Windows

This commit is contained in:
kervala 2012-05-19 23:47:43 +02:00
parent 96372fb098
commit 4be2469c8b
2 changed files with 3 additions and 1 deletions

View file

@ -121,5 +121,6 @@
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
#define NOMINMAX #define NOMINMAX
#include <WinSock2.h>
#include <windows.h> #include <windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS

View file

@ -36,5 +36,6 @@
#ifdef NL_OS_WINDOWS #ifdef NL_OS_WINDOWS
#define NOMINMAX #define NOMINMAX
#include <windows.h> #include <WinSock2.h>
#include <Windows.h>
#endif // NL_OS_WINDOWS #endif // NL_OS_WINDOWS