diff options
Diffstat (limited to 'wrmr.h')
| -rw-r--r-- | wrmr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,7 +62,7 @@ typedef uintptr_t uptr; #else # if __STDC_VERSION__ >= 202311L # define UNREACHABLE_MSG(msg) (unreachable()) -# elif defined(__GNUC__) +# elif HAVE_BUILTIN(__builtin_unreachable) # define UNREACHABLE_MSG(msg) (__builtin_unreachable()) # elif defined(_MSC_VER) # define UNREACHABLE_MSG(msg) (__assume(0)) @@ -76,7 +76,7 @@ typedef uintptr_t uptr; #ifdef NDEBUG # if defined(_MSC_VER) # define ASSUME(...) (__assume(__VA_ARGS__)) -# elif defined(__clang_version__) +# elif HAVE_BUILTIN(__builtin_assume) # define ASSUME(...) (__builtin_assume(__VA_ARGS__)) # endif #else |
