unbreak compilation with gcc < v4.5

This commit is contained in:
Matthew Flatt 2019-07-04 07:38:53 -06:00
parent 62f1243136
commit 21481421a0

View File

@ -263,7 +263,7 @@ extern "C"
#endif /* !defined(MZ_NORETURN) */ #endif /* !defined(MZ_NORETURN) */
#if !defined(MZ_UNREACHABLE) #if !defined(MZ_UNREACHABLE)
#if defined(__GNUC__) || defined(__clang__) # if (defined(__GNUC__) && (__GNUC__ > 4)) || defined(__clang__)
# define MZ_UNREACHABLE __builtin_unreachable() # define MZ_UNREACHABLE __builtin_unreachable()
# elif defined(_MSC_VER) # elif defined(_MSC_VER)
# define MZ_UNREACHABLE __assume(0) # define MZ_UNREACHABLE __assume(0)