include/SDL_config_win32.h
branchSDL-1.3
changeset 1709 2047ec9bb665
parent 1662 782fd950bd46
child 1720 a1ebb17f9c52
     1.1 --- a/include/SDL_config_win32.h	Sat Jun 24 17:31:46 2006 +0000
     1.2 +++ b/include/SDL_config_win32.h	Sun Jun 25 17:17:00 2006 +0000
     1.3 @@ -27,7 +27,9 @@
     1.4  
     1.5  /* This is a set of defines to configure the SDL features */
     1.6  
     1.7 -#ifdef _MSC_VER
     1.8 +#ifdef __GNUC__
     1.9 +#define HAVE_STDINT_H	1
    1.10 +#elif defined(_MSC_VER)
    1.11  typedef signed __int8 int8_t;
    1.12  typedef unsigned __int8 uint8_t;
    1.13  typedef signed __int16 int16_t;
    1.14 @@ -44,7 +46,7 @@
    1.15  #endif
    1.16  #define _UINTPTR_T_DEFINED
    1.17  #endif
    1.18 -#else
    1.19 +#else /* !__GNUC__ && !_MSC_VER */
    1.20  typedef signed char int8_t;
    1.21  typedef unsigned char uint8_t;
    1.22  typedef signed short int16_t;
    1.23 @@ -58,7 +60,7 @@
    1.24  typedef unsigned int size_t;
    1.25  #endif
    1.26  typedef unsigned int uintptr_t;
    1.27 -#endif /* _MSC_VER */
    1.28 +#endif /* __GNUC__ || _MSC_VER */
    1.29  #define SDL_HAS_64BIT_TYPE	1
    1.30  
    1.31  /* Enabled for SDL 1.2 (binary compatibility) */