diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-17 13:48:04 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-17 13:48:04 +0000 |
commit | ce90e748fccfaf86c857b94a604044b9dd53b3e7 (patch) | |
tree | 2b78f51dffb06a210dd33e70165190e6dcaadff7 /src/mysql/my_global.h | |
parent | 25fac517af46dd681e1fe9b9d5bd1406ff9d1108 (diff) | |
download | hercules-ce90e748fccfaf86c857b94a604044b9dd53b3e7.tar.gz hercules-ce90e748fccfaf86c857b94a604044b9dd53b3e7.tar.bz2 hercules-ce90e748fccfaf86c857b94a604044b9dd53b3e7.tar.xz hercules-ce90e748fccfaf86c857b94a604044b9dd53b3e7.zip |
- Applied the suggested fixes by Joshuaali to fix the compiling of the sql map server on Win32 systems.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5308 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/mysql/my_global.h')
-rw-r--r-- | src/mysql/my_global.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/mysql/my_global.h b/src/mysql/my_global.h index 10d667b95..65e251ab3 100644 --- a/src/mysql/my_global.h +++ b/src/mysql/my_global.h @@ -497,11 +497,8 @@ typedef char pbool; /* Mixed prototypes can take char */ typedef short pshort; /* Mixed prototypes can take short int */
typedef float pfloat; /* Mixed prototypes can take float */
#else
-//These types already exist in WinNT systems...
-//...but what do we do about Win9X ones? [Skotlex]
-//typedef int pchar; /* Mixed prototypes can't take char */
-//typedef uint puchar; /* Mixed prototypes can't take char */
-#include <winnt.h>
+typedef int pchar; /* Mixed prototypes can't take char */
+typedef uint puchar; /* Mixed prototypes can't take char */
typedef int pbool; /* Mixed prototypes can't take char */
typedef int pshort; /* Mixed prototypes can't take short int */
typedef double pfloat; /* Mixed prototypes can't take float */
|