mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
[emacs]: Include stdio.h.
(GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional.
This commit is contained in:
parent
ec3476d001
commit
397214d4a0
@ -1,5 +1,8 @@
|
||||
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user