(GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
2002-04-30 Richard M. Stallman <rms@gnu.org>
+ * s/gnu.h [emacs]: Include stdio.h.
+ (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
+
* eval.c (do_autoload): Error if called while preparing to dump.
* fns.c (Frequire): Error if need to load while preparing to dump.
#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 */