> Regardign PRIxPTR, perhaps Matthew was suggesting something like > > #ifndef PRIxPTR > #define PRIxPTR "x" > #endif That was my intention, but as you note, it may not be correct for all configurations.