summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-03-12 12:17:28 +0000
committerBram Moolenaar <Bram@vim.org>2008-03-12 12:17:28 +0000
commit02f07e0c23bfbadd1952c874d98be057bf194394 (patch)
tree3d5fa53f8ba90af42394ee42d9d87cd58aa05af3 /src/os_unix.c
parent91d8e0c1944c9460511ff488877a96e942a29f3b (diff)
downloadvim-git-02f07e0c23bfbadd1952c874d98be057bf194394.tar.gz
updated for version 7.1-273v7.1.273
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 07b1f8b0a..1b0ec703e 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -269,8 +269,9 @@ static struct signalinfo
#ifdef SIGVTALRM
{SIGVTALRM, "VTALRM", TRUE},
#endif
-#if defined(SIGPROF) && !defined(FEAT_MZSCHEME)
- /* MzScheme uses SIGPROF for its own needs */
+#if defined(SIGPROF) && !defined(FEAT_MZSCHEME) && !defined(WE_ARE_PROFILING)
+ /* MzScheme uses SIGPROF for its own needs; On Linux with profiling
+ * this makes Vim exit. WE_ARE_PROFILING is defined in Makefile. */
{SIGPROF, "PROF", TRUE},
#endif
#ifdef SIGXCPU