]> code.delx.au - gnu-emacs/blobdiff - src/syssignal.h
Port to stricter C99
[gnu-emacs] / src / syssignal.h
index b536eb501b8458f098f8989188e2818c08ee7fbe..5c14479ccad0f20e0075b3f94c3b9858664e98de 100644 (file)
@@ -32,6 +32,12 @@ extern void unblock_tty_out_signal (sigset_t const *);
 #define FORWARD_SIGNAL_TO_MAIN_THREAD
 #endif
 
+/* On Cygwin as of 2015-06-22 SIGEV_SIGNAL is defined as an enum
+   constant but not as a macro. */
+#if defined CYGWIN && !defined SIGEV_SIGNAL
+#define SIGEV_SIGNAL SIGEV_SIGNAL
+#endif
+
 #if defined HAVE_TIMER_SETTIME && defined SIGEV_SIGNAL
 # define HAVE_ITIMERSPEC
 #endif