summaryrefslogtreecommitdiff
path: root/nt/config.nt
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2012-11-03 22:43:29 +0200
committerEli Zaretskii <eliz@gnu.org>2012-11-03 22:43:29 +0200
commit3a7089c180e0fdaf7b72514079dc3bdf3627ecfd (patch)
treeabb7f0195615d0dc4008b1e05ad3c603322ea5f6 /nt/config.nt
parent5ccd466c8249e954f140aff34c6e0f4f4d2751d5 (diff)
downloademacs-3a7089c180e0fdaf7b72514079dc3bdf3627ecfd.tar.gz
Fix Windows build as fallout from 2012-11-03T18:54:17Z!eggert@cs.ucla.edu.
nt/config.nt (PENDING_OUTPUT_N_BYTES): Define. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and $(BLD)/close-stream.$(O). ($(BLD)/close-stream.$(O)): ($(BLD)/fpending.$(O)): New dependencies. Fixes: debbugs:9574
Diffstat (limited to 'nt/config.nt')
-rw-r--r--nt/config.nt3
1 files changed, 3 insertions, 0 deletions
diff --git a/nt/config.nt b/nt/config.nt
index f690b126b77..8f4cf858910 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -1219,6 +1219,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
/* Number of chars of output in the buffer of a stdio stream. */
#undef PENDING_OUTPUT_COUNT
+/* the number of pending output bytes on stream 'fp' */
+#define PENDING_OUTPUT_N_BYTES (fp->_ptr - fp->_base)
+
/* Define to empty to suppress deprecation warnings when building with
--enable-gcc-warnings and with libpng versions before 1.5, which lack
png_longjmp. */