Author: dgorbachev
Date: Sun Jan 24 02:58:20 2010
New Revision: 45228
URL:
http://svn.reactos.org/svn/reactos?rev=45228&view=rev
Log:
Trying r45222 hack again...
Modified:
trunk/reactos/ntoskrnl/include/internal/trap_x.h
Modified: trunk/reactos/ntoskrnl/include/internal/trap_x.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/trap_x.h [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/include/internal/trap_x.h [iso-8859-1] Sun Jan 24 02:58:20
2010
@@ -9,11 +9,10 @@
#ifdef __GNUC__
#if __GNUC__ * 100 + __GNUC_MINOR__ >= 405
#define UNREACHABLE __builtin_unreachable()
+#endif
#else
-#define UNREACHABLE __builtin_trap()
-#endif
-#else /* not __GNUC__ */
-#define UNREACHABLE
+DECLSPEC_NORETURN void exit(int s) {exit(s);}
+#define UNREACHABLE exit(0)
#endif
//