define PRExPTR on SunOS
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2791 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -36,6 +36,16 @@
|
|||||||
# endif
|
# endif
|
||||||
#else
|
#else
|
||||||
# include <inttypes.h>
|
# include <inttypes.h>
|
||||||
|
# ifndef PRIxPTR
|
||||||
|
/* SunOS (at least version 5.9) does not have PRIxPTR in inttypes.h */
|
||||||
|
# if defined(__arch64__) || defined(__alpha) || defined(__x86_64) \
|
||||||
|
|| defined(_M_IA64) || defined(_M_AMD64)
|
||||||
|
/* 64-bit platforms */
|
||||||
|
# define PRIxPTR "lx"
|
||||||
|
# else
|
||||||
|
# define PRIxPTR "x"
|
||||||
|
# endif
|
||||||
|
# endif /* defined(PRIxPTR) */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) \
|
#if defined(__arch64__) || defined(__alpha) || defined(__x86_64) \
|
||||||
|
|||||||
Reference in New Issue
Block a user