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:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user