util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desired effect before glibc 2.19
authorKim Alvefur <zash@zash.se>
Sun, 12 Mar 2017 12:49:34 +0100
changeset 7976 703f7f45feb4
parent 7974 cd6f88012f67
child 7977 547f000941cf
child 7978 c64ddee9d671
util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desired effect before glibc 2.19
util-src/signal.c
--- a/util-src/signal.c	Sat Mar 11 16:41:23 2017 +0100
+++ b/util-src/signal.c	Sun Mar 12 12:49:34 2017 +0100
@@ -26,7 +26,7 @@
  * OTHER DEALINGS IN THE SOFTWARE.
 */
 
-#define _DEFAULT_SOURCE
+#define _GNU_SOURCE
 
 #include <signal.h>
 #include <stdlib.h>