From e45ab89012ee7415606dcd7c664cd5c4c14e5baf Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 12 Jan 2001 05:36:12 +0000 Subject: * libc/include/sys/signal.h: Add some SA_* defines for Cygwin. --- newlib/libc/include/sys/signal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'newlib/libc/include/sys/signal.h') diff --git a/newlib/libc/include/sys/signal.h b/newlib/libc/include/sys/signal.h index 58d84de11..496fc58a9 100644 --- a/newlib/libc/include/sys/signal.h +++ b/newlib/libc/include/sys/signal.h @@ -113,6 +113,13 @@ struct sigaction #define SA_NOCLDSTOP 1 /* only value supported now for sa_flags */ +#ifdef __CYGWIN__ +# define SA_RESTART 0x10000000 /* Restart syscall on signal return. */ +# define SA_NODEFER 0x40000000 /* Don't automatically block the signal when + its handler is being executed. */ +# define SA_RESETHAND 0x80000000 /* Reset to SIG_DFL on entry to handler. */ +#endif + #endif /* defined(__rtems__) */ #define SIG_SETMASK 0 /* set mask with sigprocmask() */ -- cgit v1.2.3