summaryrefslogtreecommitdiff
path: root/src/os_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_mac.h')
-rw-r--r--src/os_mac.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/os_mac.h b/src/os_mac.h
index 7a54ee5c5..aadaed776 100644
--- a/src/os_mac.h
+++ b/src/os_mac.h
@@ -268,9 +268,15 @@
*/
#ifdef MACOS_X_UNIX
-# define SIGPROTOARG (int)
-# define SIGDEFARG(s) (s) int s;
-# define SIGDUMMYARG 0
+# 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