mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-25 16:26:18 +00:00
Fixed: NeL NS compilation
This commit is contained in:
parent
49c988ccb5
commit
9aedfe4548
3 changed files with 9 additions and 2 deletions
|
@ -31,9 +31,12 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
|
|
||||||
#if defined (NL_OS_WINDOWS)
|
#ifdef NL_OS_WINDOWS
|
||||||
#include <winsock.h>
|
#include <winsock2.h>
|
||||||
|
#include <windows.h>
|
||||||
|
typedef unsigned long ulong;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
#include <mysql_version.h>
|
#include <mysql_version.h>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,9 @@
|
||||||
// we have to include windows.h because mysql.h uses it but not include it
|
// we have to include windows.h because mysql.h uses it but not include it
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
# define NOMINMAX
|
# define NOMINMAX
|
||||||
|
# include <winsock2.h>
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
typedef unsigned long ulong;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
|
|
|
@ -25,7 +25,9 @@
|
||||||
// we have to include windows.h because mysql.h uses it but not include it
|
// we have to include windows.h because mysql.h uses it but not include it
|
||||||
#ifdef NL_OS_WINDOWS
|
#ifdef NL_OS_WINDOWS
|
||||||
# define NOMINMAX
|
# define NOMINMAX
|
||||||
|
# include <winsock2.h>
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
|
typedef unsigned long ulong;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <mysql.h>
|
#include <mysql.h>
|
||||||
|
|
Loading…
Reference in a new issue