include/SDL_config_win32.h
branchSDL-1.2
changeset 3973 5fbd763b1c88
parent 3911 ba3abfa20e18
child 3974 42578e98a295
     1.1 --- a/include/SDL_config_win32.h	Sat Jun 16 05:51:51 2007 +0000
     1.2 +++ b/include/SDL_config_win32.h	Thu Jun 21 18:20:59 2007 +0000
     1.3 @@ -46,6 +46,17 @@
     1.4  #endif
     1.5  #define _UINTPTR_T_DEFINED
     1.6  #endif
     1.7 +/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
     1.8 +#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
     1.9 +#define DWORD_PTR DWORD
    1.10 +#endif
    1.11 +#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
    1.12 +#define LONG_PTR LONG
    1.13 +#endif
    1.14 +#ifndef GWLP_HINSTANCE
    1.15 +#define GWLP_HINSTANCE GWL_HINSTANCE
    1.16 +#endif
    1.17 +#endif
    1.18  #else	/* !__GNUC__ && !_MSC_VER */
    1.19  typedef signed char int8_t;
    1.20  typedef unsigned char uint8_t;