Mercurial > emacs
changeset 5214:c4bf07b226be
(PENDING_OUTPUT_COUNT) [__GNU_LIBRARY__]: Alternate definition for the GNU
C library. I changed this in version 18 in 1991, but the change never got
propagated.
author | Roland McGrath <roland@gnu.org> |
---|---|
date | Wed, 08 Dec 1993 23:49:24 +0000 |
parents | e080f780f381 |
children | 4d6ab37798ff |
files | src/dispnew.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/dispnew.c Sun Dec 05 18:29:24 1993 +0000 +++ b/src/dispnew.c Wed Dec 08 23:49:24 1993 +0000 @@ -52,8 +52,12 @@ /* 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__ +#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__bufp - (FILE)->__buffer) +#else #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base) #endif +#endif /* Nonzero upon entry to redisplay means do not assume anything about current contents of actual terminal frame; clear and redraw it. */