diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-05-26 21:42:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-05-26 21:42:54 +0200 |
commit | 167632fcddd32656a737fa5568504fff12d04f70 (patch) | |
tree | 9f240502e198c104aefd848f52cf108d9089e3a4 /src/if_ole.cpp | |
parent | 6a18eb6f621129ded4983fac667450051e63de14 (diff) | |
download | vim-git-167632fcddd32656a737fa5568504fff12d04f70.tar.gz |
Fix definition of UINT_PTR for 64 bit systems.
Diffstat (limited to 'src/if_ole.cpp')
-rw-r--r-- | src/if_ole.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/if_ole.cpp b/src/if_ole.cpp index fc3077dfe..1e5eee65a 100644 --- a/src/if_ole.cpp +++ b/src/if_ole.cpp @@ -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 |