diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index 128869ee1..e4d25704f 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1574,6 +1574,10 @@ gui_mch_init(void) #endif #ifdef FEAT_EVAL +# if _MSC_VER < 1400 +/* HandleToLong() only exists in compilers that can do 64 bit builds */ +# define HandleToLong(h) ((long)(h)) +# endif /* set the v:windowid variable */ set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd)); #endif |