diff src/gui_w32.c @ 4238:26e59a39fdd9 v7.3.870

updated for version 7.3.870 Problem: Compiler warnings when using MingW 4.5.3. Solution: Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata)
author Bram Moolenaar <bram@vim.org>
date Tue, 19 Mar 2013 14:48:29 +0100
parents e6d8b44065bc
children 04736b4030ec
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1614,7 +1614,7 @@ gui_mch_init(void)
 #endif
 
 #ifdef FEAT_EVAL
-# if _MSC_VER < 1400
+# ifndef HandleToLong
 /* HandleToLong() only exists in compilers that can do 64 bit builds */
 #  define HandleToLong(h) ((long)(h))
 # endif