Karsten Hopp 336dae
To: vim-dev@vim.org
Karsten Hopp 336dae
Subject: Patch 7.2.364 (extra)
Karsten Hopp 336dae
Fcc: outbox
Karsten Hopp 336dae
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 336dae
Mime-Version: 1.0
Karsten Hopp 336dae
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 336dae
Content-Transfer-Encoding: 8bit
Karsten Hopp 336dae
------------
Karsten Hopp 336dae
Karsten Hopp 336dae
Patch 7.2.364 (extra)
Karsten Hopp 336dae
Problem:    Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott)
Karsten Hopp 336dae
Solution:   Check if _MSC_VER is defined. (Andy Kittner)
Karsten Hopp 336dae
Files:	    src/GvimExt/gvimext.h
Karsten Hopp 336dae
Karsten Hopp 336dae
Karsten Hopp 336dae
*** ../vim-7.2.363/src/GvimExt/gvimext.h	2006-04-24 21:23:03.000000000 +0200
Karsten Hopp 336dae
--- src/GvimExt/gvimext.h	2010-02-17 17:20:00.000000000 +0100
Karsten Hopp 336dae
***************
Karsten Hopp 336dae
*** 14,22 ****
Karsten Hopp 336dae
  #if !defined(AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_)
Karsten Hopp 336dae
  #define AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_
Karsten Hopp 336dae
  
Karsten Hopp 336dae
! #if _MSC_VER > 1000
Karsten Hopp 336dae
  #pragma once
Karsten Hopp 336dae
! #endif // _MSC_VER > 1000
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  // Insert your headers here
Karsten Hopp 336dae
  // #define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
Karsten Hopp 336dae
--- 14,22 ----
Karsten Hopp 336dae
  #if !defined(AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_)
Karsten Hopp 336dae
  #define AFX_STDAFX_H__3389658B_AD83_11D3_9C1E_0090278BBD99__INCLUDED_
Karsten Hopp 336dae
  
Karsten Hopp 336dae
! #if defined(_MSC_VER) && _MSC_VER > 1000
Karsten Hopp 336dae
  #pragma once
Karsten Hopp 336dae
! #endif
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  // Insert your headers here
Karsten Hopp 336dae
  // #define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
Karsten Hopp 336dae
***************
Karsten Hopp 336dae
*** 34,40 ****
Karsten Hopp 336dae
  #define INC_OLE2	// WIN32, get ole2 from windows.h
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  /* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
Karsten Hopp 336dae
! #if _MSC_VER >= 1400
Karsten Hopp 336dae
  # define _CRT_SECURE_NO_DEPRECATE
Karsten Hopp 336dae
  # define _CRT_NONSTDC_NO_DEPRECATE
Karsten Hopp 336dae
  #endif
Karsten Hopp 336dae
--- 34,40 ----
Karsten Hopp 336dae
  #define INC_OLE2	// WIN32, get ole2 from windows.h
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  /* Visual Studio 2005 has 'deprecated' many of the standard CRT functions */
Karsten Hopp 336dae
! #if defined(_MSC_VER) && _MSC_VER >= 1400
Karsten Hopp 336dae
  # define _CRT_SECURE_NO_DEPRECATE
Karsten Hopp 336dae
  # define _CRT_NONSTDC_NO_DEPRECATE
Karsten Hopp 336dae
  #endif
Karsten Hopp 336dae
***************
Karsten Hopp 336dae
*** 44,50 ****
Karsten Hopp 336dae
  #include <shlobj.h>
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  /* Accommodate old versions of VC that don't have a modern Platform SDK */
Karsten Hopp 336dae
! #if _MSC_VER < 1300
Karsten Hopp 336dae
  # undef  UINT_PTR
Karsten Hopp 336dae
  # define UINT_PTR UINT
Karsten Hopp 336dae
  #endif
Karsten Hopp 336dae
--- 44,50 ----
Karsten Hopp 336dae
  #include <shlobj.h>
Karsten Hopp 336dae
  
Karsten Hopp 336dae
  /* Accommodate old versions of VC that don't have a modern Platform SDK */
Karsten Hopp 336dae
! #if defined(_MSC_VER) && _MSC_VER < 1300
Karsten Hopp 336dae
  # undef  UINT_PTR
Karsten Hopp 336dae
  # define UINT_PTR UINT
Karsten Hopp 336dae
  #endif
Karsten Hopp 336dae
*** ../vim-7.2.363/src/version.c	2010-02-17 16:40:47.000000000 +0100
Karsten Hopp 336dae
--- src/version.c	2010-02-17 17:23:15.000000000 +0100
Karsten Hopp 336dae
***************
Karsten Hopp 336dae
*** 683,684 ****
Karsten Hopp 336dae
--- 683,686 ----
Karsten Hopp 336dae
  {   /* Add new patch number below this line */
Karsten Hopp 336dae
+ /**/
Karsten Hopp 336dae
+     364,
Karsten Hopp 336dae
  /**/
Karsten Hopp 336dae
Karsten Hopp 336dae
-- 
Karsten Hopp 336dae
hundred-and-one symptoms of being an internet addict:
Karsten Hopp 336dae
245. You use Real Audio to listen to a radio station from a distant
Karsten Hopp 336dae
     city rather than turn on your stereo system.
Karsten Hopp 336dae
Karsten Hopp 336dae
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 336dae
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 336dae
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp 336dae
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///