Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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.
  • Loading branch information
slouken committed Jan 13, 2010
1 parent d52988d commit d2ba9fb5a7138a059c6fefaef0e4746d8a43a429
Showing with 1 addition and 4 deletions.
  1. +1 −4 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: */

0 comments on commit d2ba9fb

Please sign in to comment.