Mercurial > sdl-ios-xcode
diff include/SDL_config_iphoneos.h @ 3220:6290f9bd097d
Better check which includes #define used in stdint.h
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 02 Aug 2009 12:54:59 +0000 |
parents | b91354fa65a2 |
children | 5db962a9a991 |
line wrap: on
line diff
--- a/include/SDL_config_iphoneos.h Sun Aug 02 12:45:20 2009 +0000 +++ b/include/SDL_config_iphoneos.h Sun Aug 02 12:54:59 2009 +0000 @@ -25,7 +25,7 @@ #include "SDL_platform.h" -#ifndef HAVE_STDINT_H +#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) typedef signed char int8_t; typedef unsigned char uint8_t; typedef signed short int16_t; @@ -33,7 +33,7 @@ typedef signed int int32_t; typedef unsigned int uint32_t; typedef unsigned long uintptr_t; -#endif /* !HAVE_STDINT_H */ +#endif /* !_STDINT_H_ && !HAVE_STDINT_H */ #define SDL_HAS_64BIT_TYPE 1