Sfoglia il codice sorgente

Patched to compile on Windows.

Ryan C. Gordon 10 anni fa
parent
commit
b0ebfabf33
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      test/testautomation_surface.c

+ 2 - 0
test/testautomation_surface.c

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