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

(GNU_LIBRARY_PENDING_OUTPUT_COUNT): Both definitions

renamed from PENDING_OUTPUT_COUNT.
parent 948c852a
...@@ -158,11 +158,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -158,11 +158,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef emacs #ifdef emacs
#ifdef _IO_STDIO_H #ifdef _IO_STDIO_H
/* new C libio names */ /* new C libio names */
#define PENDING_OUTPUT_COUNT(FILE) \ #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
((FILE)->_IO_write_ptr - (FILE)->_IO_write_base) ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
#else /* !_IO_STDIO_H */ #else /* !_IO_STDIO_H */
/* old C++ iostream names */ /* old C++ iostream names */
#define PENDING_OUTPUT_COUNT(FILE) \ #define GNU_LIBRARY_PENDING_OUTPUT_COUNT(FILE) \
((FILE)->_pptr - (FILE)->_pbase) ((FILE)->_pptr - (FILE)->_pbase)
#endif /* !_IO_STDIO_H */ #endif /* !_IO_STDIO_H */
#endif /* emacs */ #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