unbreak compilation with gcc < v4.5
This commit is contained in:
parent
62f1243136
commit
21481421a0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user