updated for version 7.1-273
diff --git a/src/os_unix.c b/src/os_unix.c
index 07b1f8b..1b0ec70 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -269,8 +269,9 @@
#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