# HG changeset patch # User Sam Lantinga # Date 1263371434 0 # Node ID f17ea6f49745901133ca83ccbbe71e13533a3a74 # Parent 1cc7f0143c12959516937fcf79a2298fa37f179b 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. diff -r 1cc7f0143c12 -r f17ea6f49745 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: */ -