From e611f549afb5435b3740362ce9215e775f87e3b0 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 7 Feb 2012 01:26:00 -0500 Subject: [PATCH] Check for _STDINT_H in SDL_config_minimal.h --- include/SDL_config_minimal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SDL_config_minimal.h b/include/SDL_config_minimal.h index 197db64cb..7fef16442 100644 --- a/include/SDL_config_minimal.h +++ b/include/SDL_config_minimal.h @@ -33,7 +33,7 @@ #include #include -#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) +#if !defined(_STDINT_H_) && !defined(_STDINT_H) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H) typedef unsigned int size_t; typedef signed char int8_t; typedef unsigned char uint8_t; @@ -44,7 +44,7 @@ typedef unsigned int uint32_t; typedef signed long long int64_t; typedef unsigned long long uint64_t; typedef unsigned long uintptr_t; -#endif /* !_STDINT_H_ && !HAVE_STDINT_H */ +#endif /* if (stdint.h isn't available) */ #ifdef __GNUC__ #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1