aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorGlenn Morris2012-08-06 16:22:22 -0400
committerGlenn Morris2012-08-06 16:22:22 -0400
commit1c6f11f42ac2afa209124ce06e64b7a0461d7bdd (patch)
tree7932edfc1548795b2217cb737843c7781e3bf3a9 /nt
parentea3768613f759f3802a9dd9826b238c46b46ce67 (diff)
downloademacs-1c6f11f42ac2afa209124ce06e64b7a0461d7bdd.tar.gz
emacs-1c6f11f42ac2afa209124ce06e64b7a0461d7bdd.zip
Remove GNU_LIBRARY_PENDING_OUTPUT_COUNT
* configure.ac (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove. (PENDING_OUTPUT_COUNT): Absorb GNU_LIBRARY_PENDING_OUTPUT_COUNT. (DISPNEW_NEEDS_STDIO_EXT): New define. * src/dispnew.c (GNU_LIBRARY_PENDING_OUTPUT_COUNT, PENDING_OUTPUT_COUNT): Let configure handle it. (stdio_ext.h) [DISPNEW_NEEDS_STDIO_EXT]: Include it. * nt/config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove. (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to. * admin/CPP-DEFINES (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog5
-rw-r--r--nt/config.nt9
2 files changed, 10 insertions, 4 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index ffdfb5dcab2..11d62250c20 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,8 @@
12012-08-06 Glenn Morris <rgm@gnu.org>
2
3 * config.nt (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Remove.
4 (PENDING_OUTPUT_COUNT): Define it as dispnew.c used to.
5
12012-08-04 Eli Zaretskii <eliz@gnu.org> 62012-08-04 Eli Zaretskii <eliz@gnu.org>
2 7
3 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC) 8 * paths.h (PATH_LOADSEARCH, PATH_SITELOADSEARCH, PATH_EXEC)
diff --git a/nt/config.nt b/nt/config.nt
index abc90687e3f..f0bcce7a285 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -211,9 +211,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
211 whether the gnulib module scanf shall be considered present. */ 211 whether the gnulib module scanf shall be considered present. */
212#undef GNULIB_SCANF 212#undef GNULIB_SCANF
213 213
214/* Value of PENDING_OUTPUT_COUNT if using the GNU C library. */
215#undef GNU_LIBRARY_PENDING_OUTPUT_COUNT
216
217/* Define if ths system is compatible with GNU/Linux. */ 214/* Define if ths system is compatible with GNU/Linux. */
218#undef GNU_LINUX 215#undef GNU_LINUX
219 216
@@ -1229,7 +1226,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1229#undef PACKAGE_VERSION 1226#undef PACKAGE_VERSION
1230 1227
1231/* Number of chars of output in the buffer of a stdio stream. */ 1228/* Number of chars of output in the buffer of a stdio stream. */
1232#undef PENDING_OUTPUT_COUNT 1229#ifdef __GNU_LIBRARY__
1230#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__bufp - (FILE)->__buffer)
1231#else
1232#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_ptr - (FILE)->_base)
1233#endif
1233 1234
1234/* Define to empty to suppress deprecation warnings when building with 1235/* Define to empty to suppress deprecation warnings when building with
1235 --enable-gcc-warnings and with libpng versions before 1.5, which lack 1236 --enable-gcc-warnings and with libpng versions before 1.5, which lack