summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-05-09 17:11:33 +1000
committerDamien George <damien.p.george@gmail.com>2019-05-09 17:11:33 +1000
commitc0a1de3c216e86e679520fa50daf41dd9ac3ea78 (patch)
treef97ed3f394c1813c33934d3cdfe20be69d44e4f1 /py
parent4268d0e1ace8ec42f08c7be328a5e5de21653b48 (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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/misc.h b/py/misc.h
index e6d25b850..0aa4a5d2c 100644
--- a/py/misc.h
+++ b/py/misc.h
@@ -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)]))