On 6/20/2015 4:55 PM, Corinna Vinschen wrote:
- First cut of an implementation to allow signal handlers running on an
   alternate signal stack.

- New API sigaltstack, plus definitions for SA_ONSTACK, SS_ONSTACK, SS_DISABLE,
   MINSIGSTKSZ, SIGSTKSZ.

I must be doing something wrong. Shouldn't including signal.h make the new API available?

$ uname -a
CYGWIN_NT-6.1-WOW fiona 2.1.0(0.287/5/3) 2015-06-20 21:44 i686 Cygwin

$ cygcheck -cd cygwin-devel
Cygwin Package Information
Package              Version
cygwin-devel         2.1.0-0.1

$ cat test.c
#include <signal.h>
int
main()
{
  int foo = SIGSTKSZ;
  return 0;
}

$ gcc test.c
test.c: In function ‘main’:
test.c:6:13: error: ‘SIGSTKSZ’ undeclared (first use in this function)
   int foo = SIGSTKSZ;
             ^

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Reply via email to