# HG changeset patch # User Matti Hamalainen # Date 1457007682 -7200 # Node ID 9db5d3f6098d0fb04d0a261b58f41d4fb63e6a17 # Parent dd95ea5901dab7e5679ea8e53b8a3c09b156228d Comments. diff -r dd95ea5901da -r 9db5d3f6098d th_types.h --- a/th_types.h Thu Mar 03 14:17:02 2016 +0200 +++ b/th_types.h Thu Mar 03 14:21:22 2016 +0200 @@ -55,10 +55,11 @@ // Do we have a valid arch? -// If so, set some printf specifiers +// If so, set some printf specifiers and other useful things #if TH_ARCH == 32 # define TH_ARCH_32BIT 1 # ifndef HAVE_INTTYPES_H +// If we don't have ISO C99 inttypes.h, define PRI* macros # define PRIu32 "u" # define PRId32 "d" # define PRIx32 "x"