diff options
Diffstat (limited to 'src/common/assert.h')
-rw-r--r-- | src/common/assert.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/assert.h b/src/common/assert.h index 67e7e9375..49d40dff1 100644 --- a/src/common/assert.h +++ b/src/common/assert.h @@ -14,13 +14,13 @@ void assert_fail_impl(); [[noreturn]] void unreachable_impl(); #ifdef _MSC_VER -#define YUZU_NO_INLINE __declspec(noinline) +#define CITRON_NO_INLINE __declspec(noinline) #else -#define YUZU_NO_INLINE __attribute__((noinline)) +#define CITRON_NO_INLINE __attribute__((noinline)) #endif #define ASSERT(_a_) \ - ([&]() YUZU_NO_INLINE { \ + ([&]() CITRON_NO_INLINE { \ if (!(_a_)) [[unlikely]] { \ LOG_CRITICAL(Debug, "Assertion Failed!"); \ assert_fail_impl(); \ @@ -28,7 +28,7 @@ void assert_fail_impl(); }()) #define ASSERT_MSG(_a_, ...) \ - ([&]() YUZU_NO_INLINE { \ + ([&]() CITRON_NO_INLINE { \ if (!(_a_)) [[unlikely]] { \ LOG_CRITICAL(Debug, "Assertion Failed!\n" __VA_ARGS__); \ assert_fail_impl(); \ |