@ -63,6 +63,8 @@
#include "nel/misc/file.h"
#ifdef NL_OS_WINDOWS
#ifndef NL_COMP_MINGW
#define NOMINMAX
#endif
#include <windows.h>
@ -25,7 +25,9 @@
#include "nel/misc/o_xml.h"
#endif // NL_OS_WINDOWS
@ -24,7 +24,9 @@
#include "nel/net/net_log.h"
# ifndef NL_COMP_MINGW
# define NOMINMAX
# endif
# include <windows.h>
#elif defined NL_OS_UNIX
# include <netinet/in.h>
@ -22,7 +22,9 @@
# include <unistd.h>
typedef sint socklen_t;
@ -24,8 +24,10 @@
// these defines is for IsDebuggerPresent(). it'll not compile on windows 95
// just comment this and the IsDebuggerPresent to compile on windows 95
# define _WIN32_WINDOWS 0x0410
# define WINVER 0x0400
# include <direct.h>
#include "nel/misc/hierarchical_timer.h"
# include <winsock2.h>
# define socklen_t int
@ -17,7 +17,9 @@
#include "nel/misc/types_nl.h"
@ -21,7 +21,9 @@
# define ERROR_NUM WSAGetLastError()