Переглянути джерело

Patched to compile on Windows.

Ryan C. Gordon 11 роки тому
батько
коміт
b0ebfabf33
1 змінених файлів з 2 додано та 0 видалено
  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"