From: Dmitry Volyntsev Date: Tue, 11 Aug 2020 14:31:04 +0000 (+0000) Subject: Getting rid of non-portable _GNU_SOURCE define. X-Git-Url: http://git.kaiwu.me/sitemap.xml?a=commitdiff_plain;h=9aa5e08ecabf090d121eccc5bb6099a56c4dba57;p=njs.git Getting rid of non-portable _GNU_SOURCE define. --- diff --git a/auto/os b/auto/os index edd6daa4..28984416 100644 --- a/auto/os +++ b/auto/os @@ -14,9 +14,6 @@ case "$NJS_SYSTEM" in # Linux uname -p can return "unknown". NJS_SYSTEM_PLATFORM=`uname -m 2>/dev/null` CC=${CC:-cc} - - # NAN and INFINITY require _GNU_SOURCE on old Linux. - NJS_CFLAGS="$NJS_CFLAGS -D_GNU_SOURCE" ;; FreeBSD | NetBSD | OpenBSD)