# HG changeset patch # User Matti Hamalainen # Date 1457007326 -7200 # Node ID 337f224b99fd5d8d939e742fe0343988b54b6490 # Parent bffd3caf2d2c110fd49f00bdaac9f78255c74487 Add PRIi{32,64} macros. diff -r bffd3caf2d2c -r 337f224b99fd th_types.h --- a/th_types.h Thu Mar 03 14:13:31 2016 +0200 +++ b/th_types.h Thu Mar 03 14:15:26 2016 +0200 @@ -62,9 +62,11 @@ # define PRIu32 "u" # define PRId32 "d" # define PRIx32 "x" +# define PRIi32 "i" # define PRIu64 "llu" # define PRId64 "lld" # define PRIx64 "llx" +# define PRIi64 "lli" # endif # define PRIu_SIZE_T "u" # define PRId_SSIZE_T "d" @@ -81,9 +83,11 @@ # define PRIu32 "u" # define PRId32 "d" # define PRIx32 "x" +# define PRIi32 "i" # define PRIu64 "lu" # define PRId64 "ld" # define PRIx64 "lx" +# define PRIi64 "li" # endif # define PRIu_SIZE_T "lu" # define PRId_SSIZE_T "ld"