summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-30 10:32:30 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-06-30 10:32:30 +0000
commit746d760a9576e5a6d138be74e61e02e6eedc69aa (patch)
treeb46bc2a05082deadc1ea067de3395e44c491450c /src/common
parent09c4e2b26b2a7f1a06202b300f0dc1ce1fe04abf (diff)
downloadhercules-746d760a9576e5a6d138be74e61e02e6eedc69aa.tar.gz
hercules-746d760a9576e5a6d138be74e61e02e6eedc69aa.tar.bz2
hercules-746d760a9576e5a6d138be74e61e02e6eedc69aa.tar.xz
hercules-746d760a9576e5a6d138be74e61e02e6eedc69aa.zip
Added back intptr/uintptr typedefs for backwards compatibility.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14874 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common')
-rw-r--r--src/common/cbasetypes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h
index 87f91ef92..906e4f31b 100644
--- a/src/common/cbasetypes.h
+++ b/src/common/cbasetypes.h
@@ -198,6 +198,13 @@ typedef unsigned long long uint64;
//////////////////////////////////////////////////////////////////////////
+// pointer sized integers
+//////////////////////////////////////////////////////////////////////////
+typedef intptr_t intptr;
+typedef uintptr_t uintptr;
+
+
+//////////////////////////////////////////////////////////////////////////
// some redefine of function redefines for some Compilers
//////////////////////////////////////////////////////////////////////////
#if defined(_MSC_VER) || defined(__BORLANDC__)