diff options
Diffstat (limited to 'common/log.h')
-rw-r--r-- | common/log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/log.h b/common/log.h index 085f72ee..afe7a047 100644 --- a/common/log.h +++ b/common/log.h @@ -34,6 +34,8 @@ #define NXP_NORETURN #define NXP_ATTRIBUTE(...) __attribute__((__VA_ARGS__)) +NEXTPNR_NAMESPACE_BEGIN + struct log_cmd_error_exception { }; @@ -99,4 +101,6 @@ static inline void log_assert_worker(bool cond, const char *expr, #define log_ping() \ log("-- %s:%d %s --\n", __FILE__, __LINE__, __PRETTY_FUNCTION__) +NEXTPNR_NAMESPACE_END + #endif |