Diff

util-src/signal.c @ 7973:703f7f45feb4

util.signal: Enable all GNU features, _DEFAULT_SOURCE doesn't have the desired effect before glibc 2.19
author Kim Alvefur <zash@zash.se>
date Sun, 12 Mar 2017 12:49:34 +0100
parent 7971:cd6f88012f67
child 8414:7ea3311ca632
line wrap: on
line diff
--- 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>