diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2012-02-07 01:26:00 -0500 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2012-02-07 01:26:00 -0500 |
commit | 0b3a9da088a5dd0028348cd69196fea48a4e6a04 (patch) | |
tree | d71249e6af0f1154c2909e5de137ae19ebf0738f /include | |
parent | aec922e021be0b06272ce8895f1852126a04bc2b (diff) |
Check for _STDINT_H in SDL_config_minimal.h
Diffstat (limited to 'include')
-rw-r--r-- | include/SDL_config_minimal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/SDL_config_minimal.h b/include/SDL_config_minimal.h index 197db64c..7fef1644 100644 --- a/include/SDL_config_minimal.h +++ b/include/SDL_config_minimal.h @@ -33,7 +33,7 @@ #include <stddef.h> #include <stdarg.h> -#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 |