Explorar el Código

Patched to compile on Windows.

Ryan C. Gordon hace 11 años
padre
commit
b0ebfabf33
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      test/testautomation_surface.c

+ 2 - 0
test/testautomation_surface.c

@@ -8,7 +8,9 @@
 #define _CRT_NONSTDC_NO_DEPRECATE
 #define _CRT_NONSTDC_NO_DEPRECATE
 
 
 #include <stdio.h>
 #include <stdio.h>
+#ifndef __WIN32__
 #include <unistd.h>
 #include <unistd.h>
+#endif
 #include <sys/stat.h>
 #include <sys/stat.h>
 
 
 #include "SDL.h"
 #include "SDL.h"