summaryrefslogtreecommitdiffstats
path: root/source/ap/vim/patches/7.2.212
blob: 33fcb5c43ee4b51077ef2ff70f7205fecc9dd3fa (plain) (blame)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
To: vim-dev@vim.org
Subject: Patch 7.2.212 (extra)
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.2.212 (extra)
Problem:    Warnings for redefining SIG macros.
Solution:   Don't define them if already defined. (Bjorn Winckler)
Files:	    src/os_mac.h


*** ../vim-7.2.211/src/os_mac.h	2008-06-24 22:27:34.000000000 +0200
--- src/os_mac.h	2009-06-19 21:21:57.000000000 +0200
***************
*** 268,276 ****
   */
  
  #ifdef MACOS_X_UNIX
! # define SIGPROTOARG	(int)
! # define SIGDEFARG(s)	(s) int s;
! # define SIGDUMMYARG	0
  # undef  HAVE_AVAIL_MEM
  # ifndef HAVE_CONFIG_H
  #  define RETSIGTYPE void
--- 268,282 ----
   */
  
  #ifdef MACOS_X_UNIX
! # ifndef SIGPROTOARG
! #  define SIGPROTOARG	(int)
! # endif
! # ifndef SIGDEFARG
! #  define SIGDEFARG(s)	(s) int s UNUSED;
! # endif
! # ifndef SIGDUMMYARG
! #  define SIGDUMMYARG	0
! # endif
  # undef  HAVE_AVAIL_MEM
  # ifndef HAVE_CONFIG_H
  #  define RETSIGTYPE void
*** ../vim-7.2.211/src/version.c	2009-06-24 16:25:23.000000000 +0200
--- src/version.c	2009-06-24 16:40:18.000000000 +0200
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     212,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
37. You start looking for hot HTML addresses in public restrooms.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///