summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 02:40:46 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-16 02:40:46 +0000
commitd6f2064fa166cf9df4da17e34dcef4210042e8f5 (patch)
treea3035cc769996b997a8e696c72360521015172c5 /src/common
parentb02aa7e922312db6a1f65f1396dfaef6b4768721 (diff)
downloadhercules-d6f2064fa166cf9df4da17e34dcef4210042e8f5.tar.gz
hercules-d6f2064fa166cf9df4da17e34dcef4210042e8f5.tar.bz2
hercules-d6f2064fa166cf9df4da17e34dcef4210042e8f5.tar.xz
hercules-d6f2064fa166cf9df4da17e34dcef4210042e8f5.zip
* Temperory fixed compiler warnings/errors. Please compile before commiting. [Lance]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6098 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h4
-rw-r--r--src/common/strlib.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index 505eb6752..097b5241c 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -56,6 +56,7 @@
//////////////////////////////////////////////////////////////////////////
// useful typedefs
//////////////////////////////////////////////////////////////////////////
+#define HAVE_UCHAR
typedef unsigned char uchar;
typedef signed char schar;
typedef signed short sshort;
@@ -91,6 +92,9 @@ typedef int* pint;
//////////////////////////////
#ifdef WIN32
//////////////////////////////
+#define SIZEOF_LONG 4
+#define SIZEOF_INT 4
+#define HAVE_INT_8_16_32
typedef __int8 int8;
typedef __int16 int16;
typedef __int32 int32;
diff --git a/src/common/strlib.h b/src/common/strlib.h
index 09eac0048..51d865149 100644
--- a/src/common/strlib.h
+++ b/src/common/strlib.h
@@ -12,6 +12,7 @@ char* jstrescapecpy (char* pt,char* spt);
int jmemescapecpy (char* pt,char* spt, int size);
#ifdef __WIN32
+#define HAVE_STRTOK_R
#define strtok_r(s,delim,save_ptr) _strtok_r((s),(delim),(save_ptr))
char *_strtok_r(char *s1, const char *s2, char **lasts);
#endif