summaryrefslogtreecommitdiff
path: root/src/GvimExt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-26 21:42:54 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-26 21:42:54 +0200
commit167632fcddd32656a737fa5568504fff12d04f70 (patch)
tree9f240502e198c104aefd848f52cf108d9089e3a4 /src/GvimExt
parent6a18eb6f621129ded4983fac667450051e63de14 (diff)
downloadvim-git-167632fcddd32656a737fa5568504fff12d04f70.tar.gz
Fix definition of UINT_PTR for 64 bit systems.
Diffstat (limited to 'src/GvimExt')
-rw-r--r--src/GvimExt/gvimext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GvimExt/gvimext.h b/src/GvimExt/gvimext.h
index 3b6b40b10..59747c90f 100644
--- a/src/GvimExt/gvimext.h
+++ b/src/GvimExt/gvimext.h
@@ -44,7 +44,7 @@
#include <shlobj.h>
/* Accommodate old versions of VC that don't have a modern Platform SDK */
-#if defined(_MSC_VER) && _MSC_VER < 1300
+#if (defined(_MSC_VER) && _MSC_VER < 1300) || !defined(MAXULONG_PTR)
# undef UINT_PTR
# define UINT_PTR UINT
#endif