Mercurial > hg > th-libs
changeset 397:dd95ea5901da
Add PRIo{32,64} macros.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Mar 2016 14:17:02 +0200 |
parents | 337f224b99fd |
children | 9db5d3f6098d |
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:15:26 2016 +0200 +++ b/th_types.h Thu Mar 03 14:17:02 2016 +0200 @@ -63,10 +63,12 @@ # define PRId32 "d" # define PRIx32 "x" # define PRIi32 "i" +# define PRIo32 "o" # define PRIu64 "llu" # define PRId64 "lld" # define PRIx64 "llx" # define PRIi64 "lli" +# define PRIo64 "llo" # endif # define PRIu_SIZE_T "u" # define PRId_SSIZE_T "d" @@ -84,10 +86,12 @@ # define PRId32 "d" # define PRIx32 "x" # define PRIi32 "i" +# define PRIo32 "o" # define PRIu64 "lu" # define PRId64 "ld" # define PRIx64 "lx" # define PRIi64 "li" +# define PRIo64 "lo" # endif # define PRIu_SIZE_T "lu" # define PRId_SSIZE_T "ld"