equal
deleted
inserted
replaced
1183 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) |
1183 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) |
1184 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or |
1184 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or |
1185 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" |
1185 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" |
1186 // (in ILP32). |
1186 // (in ILP32). |
1187 |
1187 |
1188 #define BOOL_TO_STR(__b) (__b) ? "true" : "false" |
1188 #define BOOL_TO_STR(_b_) ((_b_) ? "true" : "false") |
1189 |
1189 |
1190 // Format 32-bit quantities. |
1190 // Format 32-bit quantities. |
1191 #define INT32_FORMAT "%d" |
1191 #define INT32_FORMAT "%d" |
1192 #define UINT32_FORMAT "%u" |
1192 #define UINT32_FORMAT "%u" |
1193 #define INT32_FORMAT_W(width) "%" #width "d" |
1193 #define INT32_FORMAT_W(width) "%" #width "d" |