Explorar el Código

add SA_NOMASK alias for SA_NODEFER with _GNU_SOURCE

Rich Felker hace 14 años
padre
commit
202911435b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      include/signal.h

+ 1 - 0
include/signal.h

@@ -102,6 +102,7 @@ void (*sigset(int, void (*)(int)))(int);
 #ifdef _GNU_SOURCE
 typedef void (*sighandler_t)(int);
 void (*bsd_signal(int, void (*)(int)))(int);
+#define SA_NOMASK SA_NODEFER
 #endif
 
 #include <bits/signal.h>