Mercurial > vim
comparison src/if_ole.cpp @ 2224:a0cce15dd2a9 vim73
Fix definition of UINT_PTR for 64 bit systems.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 26 May 2010 21:42:54 +0200 |
parents | 5e225f973b5d |
children | 499bff609a86 |
comparison
equal
deleted
inserted
replaced
2223:81b83a19e127 | 2224:a0cce15dd2a9 |
---|---|
32 #endif | 32 #endif |
33 extern HWND s_hwnd; | 33 extern HWND s_hwnd; |
34 extern HWND vim_parent_hwnd; | 34 extern HWND vim_parent_hwnd; |
35 } | 35 } |
36 | 36 |
37 #if _MSC_VER < 1300 | 37 #if (defined(_MSC_VER) && _MSC_VER < 1300) || !defined(MAXULONG_PTR) |
38 /* Work around old versions of basetsd.h which wrongly declares | 38 /* Work around old versions of basetsd.h which wrongly declares |
39 * UINT_PTR as unsigned long */ | 39 * UINT_PTR as unsigned long */ |
40 # undef UINT_PTR | |
40 # define UINT_PTR UINT | 41 # define UINT_PTR UINT |
41 #endif | 42 #endif |
42 | 43 |
43 #include "if_ole.h" // Interface definitions | 44 #include "if_ole.h" // Interface definitions |
44 #include "iid_ole.c" // UUID definitions (compile here) | 45 #include "iid_ole.c" // UUID definitions (compile here) |