mirror of
https://github.com/yawut/SDL.git
synced 2026-08-20 07:44:03 -05:00
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.
This commit is contained in:
@@ -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: */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user