mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
Use for GCC before 4.5, too...
svn path=/trunk/; revision=45229
This commit is contained in:
@@ -9,11 +9,14 @@
|
||||
#ifdef __GNUC__
|
||||
#if __GNUC__ * 100 + __GNUC_MINOR__ >= 405
|
||||
#define UNREACHABLE __builtin_unreachable()
|
||||
#endif
|
||||
#else
|
||||
DECLSPEC_NORETURN void exit(int s) {exit(s);}
|
||||
#define UNREACHABLE exit(0)
|
||||
#endif
|
||||
#else /* not __GNUC__ */
|
||||
DECLSPEC_NORETURN void exit(int s) {exit(s);}
|
||||
#define UNREACHABLE exit(0)
|
||||
#endif
|
||||
|
||||
//
|
||||
// Debug Macros
|
||||
|
||||
Reference in New Issue
Block a user