Commit 126176c2 authored by Sam Lantinga's avatar Sam Lantinga

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
parent 89f83fd9
...@@ -245,10 +245,8 @@ static void SDL_AbortAssertion(void) ...@@ -245,10 +245,8 @@ static void SDL_AbortAssertion(void)
SDL_Quit(); SDL_Quit();
#ifdef _WINDOWS #ifdef _WINDOWS
ExitProcess(42); ExitProcess(42);
#elif unix || __APPLE__
_exit(42);
#else #else
#error Please define your platform or set SDL_ASSERT_LEVEL to 0. _exit(42);
#endif #endif
} }
...@@ -400,4 +398,3 @@ void SDL_AssertionsQuit(void) ...@@ -400,4 +398,3 @@ void SDL_AssertionsQuit(void)
} }
/* vi: set ts=4 sw=4 expandtab: */ /* vi: set ts=4 sw=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment