1 2 3 4 5 6 7 8 9 10
#include <inttypes.h> #if WORD_BIT == 64 #define SCNxPTR "llx" #else #define SCNxPTR "lx" #endif /* STDC(199901) */