all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kylie McClain <somasissounds@gmail.com>
To: emacs-devel@gnu.org
Cc: Kylie McClain <somasis@exherbo.org>, somasissounds@gmail.com
Subject: [PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX
Date: Wed, 30 Mar 2016 01:22:08 -0400	[thread overview]
Message-ID: <1459315328-3663-1-git-send-email-somasissounds@gmail.com> (raw)

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




             reply	other threads:[~2016-03-30  5:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30  5:22 Kylie McClain [this message]
2016-03-31 20:37 ` [PATCH] src/print.c: Check for __GLIBC__ rather than GNU_LINUX 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459315328-3663-1-git-send-email-somasissounds@gmail.com \
    --to=somasissounds@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=somasis@exherbo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.