Explorar el Código

Fixed build on iOS

Sam Lantinga hace 5 años
padre
commit
8984d25bfa
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/SDL.c

+ 3 - 0
src/SDL.c

@@ -23,6 +23,9 @@
 #if defined(__WIN32__)
 #include "core/windows/SDL_windows.h"
 #endif
+#if defined(__IPHONEOS__)
+#include <unistd.h>
+#endif
 
 #if defined(__EMSCRIPTEN__)
 #include <emscripten.h>