瀏覽代碼

Patched to compile on Windows.

Ryan C. Gordon 10 年之前
父節點
當前提交
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"