zsh-workers
 help / color / mirror / code / Atom feed
From: Clint Adams <clint@zsh.org>
To: zsh-workers@sunsite.dk
Cc: bdefreese@debian.org
Subject: PATCH: _GNU_SOURCE when __GNU__
Date: Sat, 30 May 2009 17:53:33 +0000	[thread overview]
Message-ID: <20090530175333.GA21771@scru.org> (raw)

As far as I can tell, nothing is included up to this point which
define __GLIBC__, so the Hurd wasn't getting the
nanosecond-resolution structs guarded by __USE_MISC
and thus was not able to use them in Src/cond.c.
This has nothing to do with /dev/ptmx.

Here is a band-aid:

Index: Src/system.h
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/system.h,v
retrieving revision 1.53
diff -u -r1.53 system.h
--- Src/system.h	16 Jun 2008 22:50:44 -0000	1.53
+++ Src/system.h	30 May 2009 17:40:43 -0000
@@ -37,7 +37,7 @@
 #endif
 #endif
 
-#if defined(__linux) || defined(__GLIBC__)
+#if defined(__linux) || defined(__GNU__)
 /*
  * Turn on numerous extensions.
  * This is in order to get the functions for manipulating /dev/ptmx.


             reply	other threads:[~2009-05-30 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-30 17:53 Clint Adams [this message]
2009-07-12 16:37 ` Clint Adams
2009-07-12 17:18   ` Peter Stephenson
2009-08-01  4:16     ` Clint Adams

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=20090530175333.GA21771@scru.org \
    --to=clint@zsh.org \
    --cc=bdefreese@debian.org \
    --cc=zsh-workers@sunsite.dk \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).