Jelajahi Sumber

Patched to compile on Windows.

Ryan C. Gordon 11 tahun lalu
induk
melakukan
b0ebfabf33
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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"