summaryrefslogtreecommitdiff
path: root/src/if_cscope.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-02-24 14:47:08 +0100
committerBram Moolenaar <Bram@vim.org>2010-02-24 14:47:08 +0100
commit25153e127df4b4540692aa4682163b567808e002 (patch)
tree3ef29e0720d21053b7f486590d18f09e8c261dea /src/if_cscope.c
parentf4d7f944baf3e6aaf8a17e9b6fae54e96d121be5 (diff)
downloadvim-25153e127df4b4540692aa4682163b567808e002.zip
updated for version 7.2.371
Problem: Build problems on Tandem NonStop. Solution: A few changes to #ifdefs (Joachim Schmitz)
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r--src/if_cscope.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c
index b2a4ce1a1..b8fef2887 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -2278,7 +2278,11 @@ cs_release_csp(i, freefnpp)
/* Use sigaction() to limit the waiting time to two seconds. */
sigemptyset(&sa.sa_mask);
sa.sa_handler = sig_handler;
+# ifdef SA_NODEFER
sa.sa_flags = SA_NODEFER;
+# else
+ sa.sa_flags = 0;
+# endif
sigaction(SIGALRM, &sa, &old);
alarm(2); /* 2 sec timeout */