summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/mysql/my_global.h6
2 files changed, 7 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index c340a3a2e..ca661d2ea 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EVERYTHING ELSE
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/02/14
+ * 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... [Skotlex]
* Hiding cancels Close Confine now. [Skotlex]
* ST_MOVE_ENABLE now also checks for pc_can_move(), and only perform a walk
check if the skill is ground targetted. [Skotlex]
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 */