sigaltstack is not used now if the OS does not provide it.

This commit is contained in:
Abdulaziz Ghuloum
2008-01-07 19:04:46 -05:00
parent 899be70aca
commit 01d0669607
6 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ SYNOPSIS
void
register_alt_stack(){
#ifndef __CYGWIN__
#if HAVE_SIGALTSTACK
char* stk = mmap(0, SIGSTKSZ, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_ANON, -1, 0);
// char* stk = ik_mmap(SIGSTKSZ);