summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-14 21:38:20 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-02-14 21:38:20 +0000
commitb30cb8082d72aac5311f9e5757d0005081cffbe5 (patch)
tree24258a9b249b646e775e1923a1e8f3cf90c63e4e /src
parent11595c1ead1494189ecd8bbed1fa6252649b84f1 (diff)
downloadhercules-b30cb8082d72aac5311f9e5757d0005081cffbe5.tar.gz
hercules-b30cb8082d72aac5311f9e5757d0005081cffbe5.tar.bz2
hercules-b30cb8082d72aac5311f9e5757d0005081cffbe5.tar.xz
hercules-b30cb8082d72aac5311f9e5757d0005081cffbe5.zip
- Removed the declaration of puchar and pchar from my_global.h which was preventing compiles on native win NT systems. Drawback is now Win9X systems will fail to compile instead.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5279 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/mysql/my_global.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mysql/my_global.h b/src/mysql/my_global.h
index 65e251ab3..1e2191b51 100644
--- a/src/mysql/my_global.h
+++ b/src/mysql/my_global.h
@@ -497,8 +497,10 @@ 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
-typedef int pchar; /* Mixed prototypes can't take char */
-typedef uint puchar; /* Mixed prototypes can't take char */
+//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 */
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 */