Pārlūkot izejas kodu

Patched to compile on Windows.

Ryan C. Gordon 11 gadi atpakaļ
vecāks
revīzija
b0ebfabf33
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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"