include/SDL_config_win32.h
branchSDL-1.2
changeset 3973 5fbd763b1c88
parent 3911 ba3abfa20e18
child 3974 42578e98a295
equal deleted inserted replaced
3972:590d6f5da52b 3973:5fbd763b1c88
    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 #endif
       
    49 /* Older Visual C++ headers don't have the Win64-compatible typedefs... */
       
    50 #if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
       
    51 #define DWORD_PTR DWORD
       
    52 #endif
       
    53 #if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
       
    54 #define LONG_PTR LONG
       
    55 #endif
       
    56 #ifndef GWLP_HINSTANCE
       
    57 #define GWLP_HINSTANCE GWL_HINSTANCE
       
    58 #endif
    48 #endif
    59 #endif
    49 #else	/* !__GNUC__ && !_MSC_VER */
    60 #else	/* !__GNUC__ && !_MSC_VER */
    50 typedef signed char int8_t;
    61 typedef signed char int8_t;
    51 typedef unsigned char uint8_t;
    62 typedef unsigned char uint8_t;
    52 typedef signed short int16_t;
    63 typedef signed short int16_t;