summaryrefslogtreecommitdiff
path: root/source/ap/vim/patches/7.3.244
blob: 4cff94f2f41a32329a20bdeafaa3c8f229a9d6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
To: vim_dev@googlegroups.com
Subject: Patch 7.3.244
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 7.3.244
Problem:    MS-Windows: Build problem with old compiler. (John Beckett)
Solution:   Only use HandleToLong() when available. (Mike Williams)
Files:	    src/gui_w32.c


*** ../vim-7.3.243/src/gui_w32.c	2011-05-25 21:18:02.000000000 +0200
--- src/gui_w32.c	2011-07-07 17:42:36.000000000 +0200
***************
*** 1574,1579 ****
--- 1574,1583 ----
  #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
*** ../vim-7.3.243/src/version.c	2011-07-07 17:36:52.000000000 +0200
--- src/version.c	2011-07-07 17:43:21.000000000 +0200
***************
*** 711,712 ****
--- 711,714 ----
  {   /* Add new patch number below this line */
+ /**/
+     244,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
262. Your computer has it's own phone line - but your daughter doesn't.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///