mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
Fix definition of UINT_PTR for 64 bit systems.
This commit is contained in:
@@ -34,9 +34,10 @@ extern HWND s_hwnd;
|
||||
extern HWND vim_parent_hwnd;
|
||||
}
|
||||
|
||||
#if _MSC_VER < 1300
|
||||
#if (defined(_MSC_VER) && _MSC_VER < 1300) || !defined(MAXULONG_PTR)
|
||||
/* Work around old versions of basetsd.h which wrongly declares
|
||||
* UINT_PTR as unsigned long */
|
||||
# undef UINT_PTR
|
||||
# define UINT_PTR UINT
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user