Mercurial > hg > th-libs
comparison th_types.h @ 398:9db5d3f6098d
Comments.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 03 Mar 2016 14:21:22 +0200 |
parents | dd95ea5901da |
children | f7919a143fcb |
comparison
equal
deleted
inserted
replaced
397:dd95ea5901da | 398:9db5d3f6098d |
---|---|
53 # define TH_ARCH 32 | 53 # define TH_ARCH 32 |
54 #endif | 54 #endif |
55 | 55 |
56 | 56 |
57 // Do we have a valid arch? | 57 // Do we have a valid arch? |
58 // If so, set some printf specifiers | 58 // If so, set some printf specifiers and other useful things |
59 #if TH_ARCH == 32 | 59 #if TH_ARCH == 32 |
60 # define TH_ARCH_32BIT 1 | 60 # define TH_ARCH_32BIT 1 |
61 # ifndef HAVE_INTTYPES_H | 61 # ifndef HAVE_INTTYPES_H |
62 // If we don't have ISO C99 inttypes.h, define PRI* macros | |
62 # define PRIu32 "u" | 63 # define PRIu32 "u" |
63 # define PRId32 "d" | 64 # define PRId32 "d" |
64 # define PRIx32 "x" | 65 # define PRIx32 "x" |
65 # define PRIi32 "i" | 66 # define PRIi32 "i" |
66 # define PRIo32 "o" | 67 # define PRIo32 "o" |