changed #ifndef statment to _SDL_config_iphoneos_h instead of _SDL_config_minimal_h. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 15 Aug 2008 18:22:12 +0000
branchgsoc2008_iphone
changeset 2435 775e061e9440
parent 2434 12d3b55ebbfc
child 2436 d7b41796713e
changed #ifndef statment to _SDL_config_iphoneos_h instead of _SDL_config_minimal_h.
include/SDL_config_iphoneos.h
--- a/include/SDL_config_iphoneos.h	Fri Aug 15 00:59:44 2008 +0000
+++ b/include/SDL_config_iphoneos.h	Fri Aug 15 18:22:12 2008 +0000
@@ -20,8 +20,8 @@
     slouken@libsdl.org
 */
 
-#ifndef _SDL_config_minimal_h
-#define _SDL_config_minimal_h
+#ifndef _SDL_config_iphoneos_h
+#define _SDL_config_iphoneos_h
 
 #include "SDL_platform.h"
 #include "stdio.h" // contains def for size_t
@@ -38,7 +38,7 @@
 typedef unsigned int uint32_t;
 
 #ifndef size_t
-//typedef unsigned int size_t;
+typedef unsigned int size_t;
 #endif
 
 typedef unsigned long uintptr_t;
@@ -92,8 +92,6 @@
 #define SDL_THREAD_PTHREAD	1
 #define SDL_THREAD_PTHREAD_RECURSIVE_MUTEX	1
 
-#endif /* _SDL_config_iPhone_h */
-
 #define HAVE_ALLOCA_H		1
 #define HAVE_SYS_TYPES_H	1
 #define HAVE_STDIO_H	1
@@ -144,4 +142,6 @@
 #define HAVE_VSNPRINTF	1
 #define HAVE_SIGACTION	1
 #define HAVE_SETJMP	1
-#define HAVE_NANOSLEEP	1
\ No newline at end of file
+#define HAVE_NANOSLEEP	1
+
+#endif /* _SDL_config_iphoneos_h */