|
@@ -13,19 +13,18 @@
|
|
|
/* sanity tests on SDL_rwops.c (usefull for alternative implementations of stdio rwops) */
|
|
|
|
|
|
/* quiet windows compiler warnings */
|
|
|
+#if defined(_MSC_VER) && !defined(_CRT_NONSTDC_NO_WARNINGS)
|
|
|
#define _CRT_NONSTDC_NO_WARNINGS
|
|
|
+#endif
|
|
|
|
|
|
+#include <stdio.h>
|
|
|
#include <stdlib.h>
|
|
|
-
|
|
|
#ifndef _MSC_VER
|
|
|
#include <unistd.h>
|
|
|
#endif
|
|
|
|
|
|
#include "SDL.h"
|
|
|
|
|
|
-
|
|
|
-#include <stdio.h>
|
|
|
-
|
|
|
/* WARNING ! those 2 files will be destroyed by this test program */
|
|
|
|
|
|
#ifdef __IPHONEOS__
|