[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX

From: Kylie McClain
Subject: [PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX
Date: Wed, 30 Mar 2016 01:22:08 -0400

From: Kylie McClain <address@hidden>

Not all Linux libcs (ex. musl libc) support the functionality used
under this #ifdef.
 src/print.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/print.c b/src/print.c
index 2b53d75..331f3c4 100644
--- a/src/print.c
+++ b/src/print.c
@@ -775,7 +775,7 @@ debug_output_compilation_hack (bool x)
   print_output_debug_flag = x;
-#if defined (GNU_LINUX)
+#if defined (__GLIBC__)
 /* This functionality is not vitally important in general, so we rely on
    non-portable ability to use stderr as lvalue.  */

reply via email to

[Prev in Thread] Current Thread [Next in Thread]