From 0e882b69855dab5ae0c50e52b3db8316c6054751 Mon Sep 17 00:00:00 2001 From: FlavioJS Date: Wed, 14 Jan 2009 14:03:06 +0000 Subject: * Added client login packets 0x01fa and 0x027c. * Other minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13449 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/common/cbasetypes.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/common/cbasetypes.h') diff --git a/src/common/cbasetypes.h b/src/common/cbasetypes.h index f94e9c6e7..1890a0901 100644 --- a/src/common/cbasetypes.h +++ b/src/common/cbasetypes.h @@ -199,9 +199,17 @@ typedef unsigned long long uint64; #ifdef __64BIT__ typedef uint64 uintptr; typedef int64 intptr; +#define UINTPTR_MIN UINT64_MIN +#define UINTPTR_MAX UINT64_MAX +#define INTPTR_MIN INT64_MIN; +#define INTPTR_MAX INT64_MAX; #else typedef uint32 uintptr; typedef int32 intptr; +#define UINTPTR_MIN UINT32_MIN +#define UINTPTR_MAX UINT32_MAX +#define INTPTR_MIN INT32_MIN; +#define INTPTR_MAX INT32_MAX; #endif -- cgit v1.2.3-70-g09d2