From 6742f38bc9ecdbc8a018aebb4ef38c68d09660a6 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Thu, 26 Oct 2006 21:56:19 +0000 Subject: [PATCH] Adding uintptr_t and PRIxPTR git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2459 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/src/types.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sc2/src/types.h b/sc2/src/types.h index 37e5f1e69..f72d35d68 100644 --- a/sc2/src/types.h +++ b/sc2/src/types.h @@ -27,6 +27,12 @@ # include # else typedef int intptr_t; + typedef unsigned int uintptr_t; +# endif +# ifdef _WIN64 +# define PRIxPTR "lx" +# else +# define PRIxPTR "x" # endif #else # include