Hi,

It seems something has changed in the os_unix.h header which causes
three macros to be defined twice when compiling on Mac OS X and this
resulted in several annoying warnings.  The patch below takes care of
this problem (sorry that the patch is not in the usual format, but it
is so short that it didn't seem to matter too much).

Björn


diff --git a/src/os_mac.h b/src/os_mac.h
index 7a54ee5..aae08bf 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -268,9 +268,6 @@
  */

 #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

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui