diff options
Diffstat (limited to 'common/nextpnr_namespaces.h')
-rw-r--r-- | common/nextpnr_namespaces.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/nextpnr_namespaces.h b/common/nextpnr_namespaces.h index 6fb0aa77..b758d7c5 100644 --- a/common/nextpnr_namespaces.h +++ b/common/nextpnr_namespaces.h @@ -33,6 +33,8 @@ #define USING_NEXTPNR_NAMESPACE #endif +#define NPNR_UNUSED(x) ((void)x) + #if defined(__GNUC__) || defined(__clang__) #define NPNR_ATTRIBUTE(...) __attribute__((__VA_ARGS__)) #define NPNR_NORETURN __attribute__((noreturn)) |