summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 8d0f3e0b06..6533a4536f 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -242,6 +242,9 @@
#if (defined(UNIX) || defined(VMS)) \
&& (!defined(MACOS_X) || defined(HAVE_CONFIG_H))
# include "os_unix.h" // bring lots of system header files
+#else
+ // For all non-Unix systems: use old-fashioned signal().
+# define mch_signal(signum, sighandler) signal(signum, sighandler)
#endif
// Mark unused function arguments with UNUSED, so that gcc -Wunused-parameter