Fixed: NeL NS compilation

This commit is contained in:
kervala 2012-10-28 13:56:53 +01:00
parent 05ae6371c1
commit 92e520eb92
3 changed files with 9 additions and 2 deletions

View file

@ -31,9 +31,12 @@
#include <string>
#include <list>
#if defined (NL_OS_WINDOWS)
#include <winsock.h>
#ifdef NL_OS_WINDOWS
#include <winsock2.h>
#include <windows.h>
typedef unsigned long ulong;
#endif
#include <mysql.h>
#include <mysql_version.h>

View file

@ -20,7 +20,9 @@
// we have to include windows.h because mysql.h uses it but not include it
#ifdef NL_OS_WINDOWS
# define NOMINMAX
# include <winsock2.h>
# include <windows.h>
typedef unsigned long ulong;
#endif
#include <mysql.h>

View file

@ -25,7 +25,9 @@
// we have to include windows.h because mysql.h uses it but not include it
#ifdef NL_OS_WINDOWS
# define NOMINMAX
# include <winsock2.h>
# include <windows.h>
typedef unsigned long ulong;
#endif
#include <mysql.h>