From b30cb8082d72aac5311f9e5757d0005081cffbe5 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 14 Feb 2006 21:38:20 +0000 Subject: - 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 --- src/mysql/my_global.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/mysql') 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 */ -- cgit v1.2.3-60-g2f50