Assume _exit() is available. It may be, even if unix isn't defined.
authorSam Lantinga <slouken@libsdl.org>
Wed, 13 Jan 2010 08:30:34 +0000
changeset 3656 f17ea6f49745
parent 3655 1cc7f0143c12
child 3657 eaea59cee6f2
Assume _exit() is available. It may be, even if unix isn't defined. If we really have to, we can add a configure check for it.
src/SDL_assert.c
--- a/src/SDL_assert.c	Wed Jan 13 08:25:16 2010 +0000
+++ b/src/SDL_assert.c	Wed Jan 13 08:30:34 2010 +0000
@@ -245,10 +245,8 @@
     SDL_Quit();
 #ifdef _WINDOWS
     ExitProcess(42);
-#elif unix || __APPLE__
+#else
     _exit(42);
-#else
-    #error Please define your platform or set SDL_ASSERT_LEVEL to 0.
 #endif
 }
     
@@ -400,4 +398,3 @@
 }
 
 /* vi: set ts=4 sw=4 expandtab: */
-