Mercurial > sdl-ios-xcode
diff include/SDL_config.h.in @ 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 | 77d6336711fc |
children | af4a5af3cd2b |
line wrap: on
line diff
--- a/include/SDL_config.h.in Sun Aug 02 12:45:20 2009 +0000 +++ b/include/SDL_config.h.in Sun Aug 02 12:54:59 2009 +0000 @@ -39,6 +39,7 @@ #undef volatile /* C datatypes */ +#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) #undef size_t #undef int8_t #undef uint8_t @@ -49,6 +50,8 @@ #undef int64_t #undef uint64_t #undef uintptr_t +#endif /* !_STDINT_H_ && !HAVE_STDINT_H */ + #undef SIZEOF_VOIDP #undef SDL_HAS_64BIT_TYPE