Merged r3094:3095 from branches/SDL-1.2: Visual C++ 6.0 fixes.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402372
This commit is contained in:
parent
5bb1d2ceb7
commit
04255e0015
2 changed files with 33 additions and 7 deletions
|
@ -45,6 +45,16 @@ typedef unsigned __int64 uintptr_t;
|
|||
typedef unsigned int uintptr_t;
|
||||
#endif
|
||||
#define _UINTPTR_T_DEFINED
|
||||
/* Older Visual C++ headers don't have the Win64-compatible typedefs... */
|
||||
#if ((_MSC_VER <= 1200) && (!defined(DWORD_PTR)))
|
||||
#define DWORD_PTR DWORD
|
||||
#endif
|
||||
#if ((_MSC_VER <= 1200) && (!defined(LONG_PTR)))
|
||||
#define LONG_PTR LONG
|
||||
#endif
|
||||
#ifndef GWLP_HINSTANCE
|
||||
#define GWLP_HINSTANCE GWL_HINSTANCE
|
||||
#endif
|
||||
#endif
|
||||
#else /* !__GNUC__ && !_MSC_VER */
|
||||
typedef signed char int8_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue