From 126176c2837d7d7477267074fb4d1a6a8b21b44f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 13 Jan 2010 08:30:34 +0000 Subject: [PATCH] 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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404407 --- src/SDL_assert.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/SDL_assert.c b/src/SDL_assert.c index 687f51067..493bd442a 100644 --- a/src/SDL_assert.c +++ b/src/SDL_assert.c @@ -245,10 +245,8 @@ static void SDL_AbortAssertion(void) SDL_Quit(); #ifdef _WINDOWS ExitProcess(42); -#elif unix || __APPLE__ - _exit(42); #else - #error Please define your platform or set SDL_ASSERT_LEVEL to 0. + _exit(42); #endif } @@ -400,4 +398,3 @@ void SDL_AssertionsQuit(void) } /* vi: set ts=4 sw=4 expandtab: */ -