* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.

This commit is contained in:
Christopher Faylor 2001-01-12 05:36:12 +00:00
parent 1376245a1f
commit e45ab89012
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com> Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__ * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__

View File

@ -113,6 +113,13 @@ struct sigaction
#define SA_NOCLDSTOP 1 /* only value supported now for sa_flags */ #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__) */ #endif /* defined(__rtems__) */
#define SIG_SETMASK 0 /* set mask with sigprocmask() */ #define SIG_SETMASK 0 /* set mask with sigprocmask() */