__builtin_unreachable appeared in gcc 4.5.0
This commit is contained in:
parent
3d8017933c
commit
9aa85c4eb2
|
@ -28,7 +28,7 @@ extern "C" {
|
|||
# define GENSYM(x) GENSYM1__(__LINE__,x)
|
||||
#endif
|
||||
|
||||
#if __GNUC__ || __clang__
|
||||
#if GCC_VERSION >= 40500 || __clang__
|
||||
# define UNREACHABLE() (__builtin_unreachable())
|
||||
#else
|
||||
# include <assert.h>
|
||||
|
|
Loading…
Reference in New Issue