unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX
@ 2016-03-30  5:22 Kylie McClain
  2016-03-31 20:37 ` Paul Eggert
  0 siblings, 1 reply; 8+ messages in thread
From: Kylie McClain @ 2016-03-30  5:22 UTC (permalink / raw)
  To: emacs-devel; +Cc: Kylie McClain, somasissounds

From: Kylie McClain <somasis@exherbo.org>

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.  */
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-04-04 16:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-30  5:22 [PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX Kylie McClain
2016-03-31 20:37 ` Paul Eggert
2016-03-31 21:26   ` Kylie McClain
2016-04-01  6:43   ` Eli Zaretskii
2016-04-01  7:46     ` Paul Eggert
2016-04-02  8:35       ` Eli Zaretskii
2016-04-03  8:24         ` Paul Eggert
2016-04-04 16:45         ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).