include/SDL_config_win32.h
changeset 2132 46648dc418ec
parent 2087 b10089473699
child 2133 03715e20ec3c
equal deleted inserted replaced
2131:55c7932d1fdb 2132:46648dc418ec
    43 typedef unsigned __int64 uintptr_t;
    43 typedef unsigned __int64 uintptr_t;
    44 #else
    44 #else
    45 typedef unsigned int uintptr_t;
    45 typedef unsigned int uintptr_t;
    46 #endif
    46 #endif
    47 #define _UINTPTR_T_DEFINED
    47 #define _UINTPTR_T_DEFINED
       
    48 /* Older Visual C++ headers don't have the Win64-compatible typedefs... */
       
    49 #if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
       
    50 #define DWORD_PTR DWORD
       
    51 #endif
       
    52 #if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
       
    53 #define LONG_PTR LONG
       
    54 #endif
       
    55 #ifndef GWLP_HINSTANCE
       
    56 #define GWLP_HINSTANCE GWL_HINSTANCE
       
    57 #endif
    48 #endif
    58 #endif
    49 #else /* !__GNUC__ && !_MSC_VER */
    59 #else /* !__GNUC__ && !_MSC_VER */
    50 typedef signed char int8_t;
    60 typedef signed char int8_t;
    51 typedef unsigned char uint8_t;
    61 typedef unsigned char uint8_t;
    52 typedef signed short int16_t;
    62 typedef signed short int16_t;