Check for _STDINT_H in SDL_config_minimal.h
authorRyan C. Gordon <icculus@icculus.org>
Tue, 07 Feb 2012 01:26:00 -0500
changeset 62802c2ebbcb1980
parent 6278 e3e5821999f1
child 6281 e46d6f4b469e
Check for _STDINT_H in SDL_config_minimal.h
include/SDL_config_minimal.h
     1.1 --- a/include/SDL_config_minimal.h	Sat Feb 04 16:39:52 2012 -0500
     1.2 +++ b/include/SDL_config_minimal.h	Tue Feb 07 01:26:00 2012 -0500
     1.3 @@ -33,7 +33,7 @@
     1.4  #include <stddef.h>
     1.5  #include <stdarg.h>
     1.6  
     1.7 -#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
     1.8 +#if !defined(_STDINT_H_) && !defined(_STDINT_H) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
     1.9  typedef unsigned int size_t;
    1.10  typedef signed char int8_t;
    1.11  typedef unsigned char uint8_t;
    1.12 @@ -44,7 +44,7 @@
    1.13  typedef signed long long int64_t;
    1.14  typedef unsigned long long uint64_t;
    1.15  typedef unsigned long uintptr_t;
    1.16 -#endif /* !_STDINT_H_ && !HAVE_STDINT_H */
    1.17 +#endif /* if (stdint.h isn't available) */
    1.18  
    1.19  #ifdef __GNUC__
    1.20  #define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1