Simplify by assuming __fpending.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Nov 2012 01:59:00 +0000 (17:59 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 5 Nov 2012 01:59:00 +0000 (17:59 -0800)
commit8148369cfba2c982a87fb4eb72d024e26e193a03
treee19d89cea76bbb91f5848e8382fc84c8feeb1ebb
parent06b63c9b0c6fd87e699ba6ba3be959bfd150ef8a
Simplify by assuming __fpending.

Now that Emacs is using the gnulib fpending module,
there's no need for Emacs to have a separate implementation.
* configure.ac (stdio_ext.h, __fpending): Remove now-duplicate checks.
(PENDING_OUTPUT_COUNT, DISPNEW_NEEDS_STDIO_EXT): Remove.
* admin/CPP-DEFINES (PENDING_OUTPUT_COUNT): Remove.
* src/dispnew.c: Include <fpending.h>, not <stdio_ext.h>.
(update_frame_1): Use __fpending, not PENDING_OUTPUT_COUNT.
Do not assume that __fpending's result fits in int.
ChangeLog
admin/CPP-DEFINES
admin/ChangeLog
configure.ac
src/ChangeLog
src/dispnew.c