diff options
author | Roland McGrath <roland@gnu.org> | 1994-05-10 22:39:29 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1994-05-10 22:39:29 +0000 |
commit | 255c062ae483bccb39c18ab98ac32bca1e6490a5 (patch) | |
tree | bdeb9612938011139d5acccda01e6542891db9e1 /src/dispnew.c | |
parent | c53569f24fc96da472955967cdbfc59ff1c4b886 (diff) | |
download | emacs-255c062ae483bccb39c18ab98ac32bca1e6490a5.tar.gz |
[__GNU_LIBRARY__]: Redefine PENDING_OUTPUT_COUNT even if already defined.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index d90562bab54..439b0adbb33 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -48,13 +48,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define max(a, b) ((a) > (b) ? (a) : (b)) #define min(a, b) ((a) < (b) ? (a) : (b)) -#ifndef PENDING_OUTPUT_COUNT /* Get number of chars of output now in the buffer of a stdio stream. This ought to be built in in stdio, but it isn't. Some s- files override this because their stdio internals differ. */ #ifdef __GNU_LIBRARY__ +#undef PENDING_OUTPUT_COUNT #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__bufp - (FILE)->__buffer) #else +#ifndef PENDING_OUTPUT_COUNT #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base) #endif #endif |