diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-02-17 17:24:27 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-02-17 17:24:27 +0100 |
commit | 175aa248463caa78677495440901e6e9504066fc (patch) | |
tree | 68f9a21c62c9f36e61f8128c456d381c0479bc58 /src/GvimExt | |
parent | 3a0573acaed378328a8f41a868d898f14802b3af (diff) | |
download | vim-git-175aa248463caa78677495440901e6e9504066fc.tar.gz |
updated for version 7.2.364v7.2.364
Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
Solution: Check if _MSC_VER is defined. (Andy Kittner)
Diffstat (limited to 'src/GvimExt')
-rw-r--r-- | src/GvimExt/gvimext.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GvimExt/gvimext.h b/src/GvimExt/gvimext.h index 506ab8fc9..3b6b40b10 100644 --- a/src/GvimExt/gvimext.h +++ b/src/GvimExt/gvimext.h @@ -14,9 +14,9 @@ #if !defined(AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_) #define AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_ -#if _MSC_VER > 1000 +#if defined(_MSC_VER) && _MSC_VER > 1000 #pragma once -#endif // _MSC_VER > 1000 +#endif // Insert your headers here // #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers @@ -34,7 +34,7 @@ #define INC_OLE2 // WIN32, get ole2 from windows.h /* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */ -#if _MSC_VER >= 1400 +#if defined(_MSC_VER) && _MSC_VER >= 1400 # define _CRT_SECURE_NO_DEPRECATE # define _CRT_NONSTDC_NO_DEPRECATE #endif @@ -44,7 +44,7 @@ #include <shlobj.h> /* Accommodate old versions of VC that don't have a modern Platform SDK */ -#if _MSC_VER < 1300 +#if defined(_MSC_VER) && _MSC_VER < 1300 # undef UINT_PTR # define UINT_PTR UINT #endif |