include/SDL_config_minimal.h
changeset 5481 22dfc3958dc3
parent 5262 b530ef003506
child 5512 56ab281d7d3e
     1.1 --- a/include/SDL_config_minimal.h	Fri Mar 11 18:38:29 2011 -0800
     1.2 +++ b/include/SDL_config_minimal.h	Sat Mar 12 13:21:57 2011 -0800
     1.3 @@ -31,19 +31,27 @@
     1.4   *  This is the minimal configuration that can be used to build SDL.
     1.5   */
     1.6  
     1.7 +#include <stddef.h>
     1.8  #include <stdarg.h>
     1.9  
    1.10  #if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
    1.11 +typedef unsigned int size_t;
    1.12  typedef signed char int8_t;
    1.13  typedef unsigned char uint8_t;
    1.14  typedef signed short int16_t;
    1.15  typedef unsigned short uint16_t;
    1.16  typedef signed int int32_t;
    1.17  typedef unsigned int uint32_t;
    1.18 -typedef unsigned int size_t;
    1.19 +typedef signed long long int64_t;
    1.20 +typedef unsigned long long uint64_t;
    1.21  typedef unsigned long uintptr_t;
    1.22  #endif /* !_STDINT_H_ && !HAVE_STDINT_H */
    1.23  
    1.24 +#define SDL_HAS_64BIT_TYPE
    1.25 +#ifdef __GNUC__
    1.26 +#define HAVE_GCC_SYNC_LOCK_TEST_AND_SET 1
    1.27 +#endif
    1.28 +
    1.29  /* Enable the dummy audio driver (src/audio/dummy/\*.c) */
    1.30  #define SDL_AUDIO_DRIVER_DUMMY	1
    1.31