Explorar o código

updated includes for _exit()

Ozkan Sezer %!s(int64=5) %!d(string=hai) anos
pai
achega
9c14c789ad
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      src/SDL.c

+ 3 - 1
src/SDL.c

@@ -22,8 +22,10 @@
 
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"
+#elif defined(__OS2__)
+#include <stdlib.h> /* For _exit() */
 #elif !defined(__WINRT__)
-#include <unistd.h> // For _exit(), etc.
+#include <unistd.h> /* For _exit(), etc. */
 #endif
 
 #if defined(__EMSCRIPTEN__)