From 5550c7a95f210668005821f3a8a5a8d182547307 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Sep 2017 06:44:05 +0530 Subject: [PATCH] _GNU_SOURCE needed on apple as well? --- kitty/child-monitor.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kitty/child-monitor.c b/kitty/child-monitor.c index 5e9aad045..25437f699 100644 --- a/kitty/child-monitor.c +++ b/kitty/child-monitor.c @@ -5,14 +5,10 @@ * Distributed under terms of the GPL3 license. */ -#ifndef __APPLE__ -// Need _GNU_SOURCE for pthread_setname_np on linux +// Need _GNU_SOURCE for pthread_setname_np #define _GNU_SOURCE -#endif #include -#ifndef __APPLE__ #undef _GNU_SOURCE -#endif #include "data-types.h" #include #include