Patched to compile on Visual Studio. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Fri, 30 Mar 2007 06:26:28 +0000
branchSDL-1.2
changeset 3927 f86ced1837de
parent 3926 9785a5be718e
child 3928 6a62cbdd65f5
Patched to compile on Visual Studio.
test/testfile.c
--- a/test/testfile.c	Wed Mar 28 00:36:35 2007 +0000
+++ b/test/testfile.c	Fri Mar 30 06:26:28 2007 +0000
@@ -2,7 +2,10 @@
 /* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio rwops) */
 
 #include <stdlib.h>
+
+#ifndef _MSC_VER
 #include <unistd.h>
+#endif
 
 #include "SDL.h"
 #include "SDL_endian.h"