Mercurial > hg > th-libs
changeset 396:337f224b99fd
Add PRIi{32,64} macros.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Mar 2016 14:15:26 +0200 |
parents | bffd3caf2d2c |
children | dd95ea5901da |
files | th_types.h |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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"