Adding uintptr_t and PRIxPTR
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2459 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -27,6 +27,12 @@
|
||||
# include <stddef.h>
|
||||
# else
|
||||
typedef int intptr_t;
|
||||
typedef unsigned int uintptr_t;
|
||||
# endif
|
||||
# ifdef _WIN64
|
||||
# define PRIxPTR "lx"
|
||||
# else
|
||||
# define PRIxPTR "x"
|
||||
# endif
|
||||
#else
|
||||
# include <inttypes.h>
|
||||
|
||||
Reference in New Issue
Block a user