Commit 397214d4 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

[emacs]: Include stdio.h.

(GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
parent ec3476d0
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.
......
......@@ -78,3 +78,12 @@ Boston, MA 02111-1307, USA. */
#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 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment