all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Doesn't build on GNU/Hurd with glibc based on libio
@ 2002-04-29 20:08 Marcus Brinkmann
  2002-04-30  5:11 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Marcus Brinkmann @ 2002-04-29 20:08 UTC (permalink / raw)


Hi,

the GNU/Hurd platform is switching to a libio based glibc rather than
stdio right now.  So we need the following patch to make it work
(copied and shortened for the relevant cases only from src/s/gnu-linux.h):

(Mmh. Maybe it makes sense to collect all configuration specific to the
GNU C Library that is shared by all platforms supported by the GNU C
Library into a src/s/glibc.h file.)

--- src/s/gnu.h~	Wed Apr 19 07:21:37 2000
+++ src/s/gnu.h	Mon Apr 29 16:04:44 2002
@@ -78,3 +78,12 @@
 #endif
 
 #define NARROWPROTO 1
+
+#ifdef emacs
+#include <stdio.h>  /* Get the definition of _IO_STDIO_H.  */
+#if defined(_IO_STDIO_H) || defined(_STDIO_USES_IOSTREAM)
+/* new C libio names */
+#define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
+  ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
+#endif /* !_IO_STDIO_H */
+#endif /* emacs */

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

end of thread, other threads:[~2002-04-30 12:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-29 20:08 Doesn't build on GNU/Hurd with glibc based on libio Marcus Brinkmann
2002-04-30  5:11 ` Eli Zaretskii
2002-04-30 12:37   ` Marcus Brinkmann

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.