diff options
author | Damien George <damien.p.george@gmail.com> | 2019-05-09 17:11:33 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2019-05-09 17:11:33 +1000 |
commit | c0a1de3c216e86e679520fa50daf41dd9ac3ea78 (patch) | |
tree | f97ed3f394c1813c33934d3cdfe20be69d44e4f1 /py | |
parent | 4268d0e1ace8ec42f08c7be328a5e5de21653b48 (diff) |
py/misc.h: Rename _MP_STRINGIFY to not use leading underscore in ident.
Macro identifiers with a leading underscore are reserved.
Diffstat (limited to 'py')
-rw-r--r-- | py/misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -47,8 +47,8 @@ typedef unsigned int uint; #endif // Classical double-indirection stringification of preprocessor macro's value -#define _MP_STRINGIFY(x) #x -#define MP_STRINGIFY(x) _MP_STRINGIFY(x) +#define MP_STRINGIFY_HELPER(x) #x +#define MP_STRINGIFY(x) MP_STRINGIFY_HELPER(x) // Static assertion macro #define MP_STATIC_ASSERT(cond) ((void)sizeof(char[1 - 2 * !(cond)])) |