zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _GNU_SOURCE when __GNU__
@ 2009-05-30 17:53 Clint Adams
  2009-07-12 16:37 ` Clint Adams
  0 siblings, 1 reply; 4+ messages in thread
From: Clint Adams @ 2009-05-30 17:53 UTC (permalink / raw)
  To: zsh-workers; +Cc: bdefreese

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.


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

end of thread, other threads:[~2009-08-01  4:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-30 17:53 PATCH: _GNU_SOURCE when __GNU__ Clint Adams
2009-07-12 16:37 ` Clint Adams
2009-07-12 17:18   ` Peter Stephenson
2009-08-01  4:16     ` Clint Adams

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).