include/SDL_config_win32.h
changeset 1885 bc0d965a3d54
parent 1884 17af3557191c
child 1895 c121d94672cb
child 3911 ba3abfa20e18
     1.1 --- a/include/SDL_config_win32.h	Sun Jun 25 17:12:08 2006 +0000
     1.2 +++ b/include/SDL_config_win32.h	Sun Jun 25 17:14:39 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,9 +46,7 @@
    1.15  #endif
    1.16  #define _UINTPTR_T_DEFINED
    1.17  #endif
    1.18 -#elif defined(__GNUC__)
    1.19 -#define HAVE_STDINT_H	1
    1.20 -#else
    1.21 +#else	/* !__GNUC__ && !_MSC_VER */
    1.22  typedef signed char int8_t;
    1.23  typedef unsigned char uint8_t;
    1.24  typedef signed short int16_t;
    1.25 @@ -60,7 +60,7 @@
    1.26  typedef unsigned int size_t;
    1.27  #endif
    1.28  typedef unsigned int uintptr_t;
    1.29 -#endif /* _MSC_VER */
    1.30 +#endif /* __GNUC__ || _MSC_VER */
    1.31  #define SDL_HAS_64BIT_TYPE	1
    1.32  
    1.33  /* Enabled for SDL 1.2 (binary compatibility) */