diff include/SDL_config_iphoneos.h @ 3219:b91354fa65a2

Don't redefine types if HAVE_STDINT_H is defined
author Sam Lantinga <slouken@libsdl.org>
date Sun, 02 Aug 2009 12:45:20 +0000
parents b7a48f533966
children 6290f9bd097d
line wrap: on
line diff
--- a/include/SDL_config_iphoneos.h	Thu Jul 30 14:53:57 2009 +0000
+++ b/include/SDL_config_iphoneos.h	Sun Aug 02 12:45:20 2009 +0000
@@ -25,6 +25,7 @@
 
 #include "SDL_platform.h"
 
+#ifndef HAVE_STDINT_H
 typedef signed char int8_t;
 typedef unsigned char uint8_t;
 typedef signed short int16_t;
@@ -32,6 +33,8 @@
 typedef signed int int32_t;
 typedef unsigned int uint32_t;
 typedef unsigned long uintptr_t;
+#endif /* !HAVE_STDINT_H */
+
 #define SDL_HAS_64BIT_TYPE	1
 
 #define HAVE_ALLOCA_H		1