1
0
forked from aniani/vim

updated for version 7.2.371

Problem:    Build problems on Tandem NonStop.
Solution:   A few changes to #ifdefs (Joachim Schmitz)
This commit is contained in:
Bram Moolenaar
2010-02-24 14:47:08 +01:00
parent f4d7f944ba
commit 25153e127d
8 changed files with 149 additions and 9 deletions

View File

@@ -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 */