Blob Blame History Raw
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    ///