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