aboutsummaryrefslogtreecommitdiffstats
path: root/common/nextpnr_assertions.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/nextpnr_assertions.h')
-rw-r--r--common/nextpnr_assertions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/nextpnr_assertions.h b/common/nextpnr_assertions.h
index 1dd2a58f..1989aa3a 100644
--- a/common/nextpnr_assertions.h
+++ b/common/nextpnr_assertions.h
@@ -56,6 +56,7 @@ inline void assert_fail_impl_str(std::string message, const char *expr_str, cons
#define NPNR_ASSERT_FALSE(msg) (assert_fail_impl(msg, "false", __FILE__, __LINE__))
#define NPNR_ASSERT_FALSE_STR(msg) (assert_fail_impl_str(msg, "false", __FILE__, __LINE__))
+#define NPNR_STRINGIFY_MACRO(x) NPNR_STRINGIFY(x)
#define NPNR_STRINGIFY(x) #x
NEXTPNR_NAMESPACE_END