aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/signal.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 89499cb..4a3ba46 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,3 +1,7 @@
+2003-11-27 Dimitry Sibiryakov <aafemt@users.sourceforge.net>
+
+ * include/signal.h (SIG_SGE, SIG_ACK): Add defines.
+
2003-10-27 Danny Smith <dannysmith@users.sourceforge.net>
* include/math.h: Guard ISO C99 additions with __cplusplus
diff --git a/winsup/mingw/include/signal.h b/winsup/mingw/include/signal.h
index b0a8173..e138632 100644
--- a/winsup/mingw/include/signal.h
+++ b/winsup/mingw/include/signal.h
@@ -78,11 +78,14 @@ typedef void (*__p_sig_fn_t)(int);
/*
* These are special values of signal handler pointers which are
* used to send a signal to the default handler (SIG_DFL), ignore
- * the signal (SIG_IGN), or indicate an error return (SIG_ERR).
+ * the signal (SIG_IGN), indicate an error return (SIG_ERR),
+ * get an error (SIG_SGE), or acknowledge (SIG_ACK).
*/
#define SIG_DFL ((__p_sig_fn_t) 0)
#define SIG_IGN ((__p_sig_fn_t) 1)
#define SIG_ERR ((__p_sig_fn_t) -1)
+#define SIG_SGE ((__p_sig_fn_t) 3)
+#define SIG_ACK ((__p_sig_fn_t) 4)
#ifdef __cplusplus
extern "C" {