]> git.ipfire.org Git - ipfire-3.x.git/blob - vim/patches/vim-7.3.244.patch0
vim: Import latest patches from upstream.
[ipfire-3.x.git] / vim / patches / vim-7.3.244.patch0
1 To: vim_dev@googlegroups.com
2 Subject: Patch 7.3.244
3 Fcc: outbox
4 From: Bram Moolenaar <Bram@moolenaar.net>
5 Mime-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8 ------------
9
10 Patch 7.3.244
11 Problem: MS-Windows: Build problem with old compiler. (John Beckett)
12 Solution: Only use HandleToLong() when available. (Mike Williams)
13 Files: src/gui_w32.c
14
15
16 *** ../vim-7.3.243/src/gui_w32.c 2011-05-25 21:18:02.000000000 +0200
17 --- src/gui_w32.c 2011-07-07 17:42:36.000000000 +0200
18 ***************
19 *** 1574,1579 ****
20 --- 1574,1583 ----
21 #endif
22
23 #ifdef FEAT_EVAL
24 + # if _MSC_VER < 1400
25 + /* HandleToLong() only exists in compilers that can do 64 bit builds */
26 + # define HandleToLong(h) ((long)(h))
27 + # endif
28 /* set the v:windowid variable */
29 set_vim_var_nr(VV_WINDOWID, HandleToLong(s_hwnd));
30 #endif
31 *** ../vim-7.3.243/src/version.c 2011-07-07 17:36:52.000000000 +0200
32 --- src/version.c 2011-07-07 17:43:21.000000000 +0200
33 ***************
34 *** 711,712 ****
35 --- 711,714 ----
36 { /* Add new patch number below this line */
37 + /**/
38 + 244,
39 /**/
40
41 --
42 hundred-and-one symptoms of being an internet addict:
43 262. Your computer has it's own phone line - but your daughter doesn't.
44
45 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
46 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
47 \\\ an exciting new programming language -- http://www.Zimbu.org ///
48 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///