diff options
| author | Eli Zaretskii | 2012-11-03 22:43:29 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2012-11-03 22:43:29 +0200 |
| commit | 3a7089c180e0fdaf7b72514079dc3bdf3627ecfd (patch) | |
| tree | abb7f0195615d0dc4008b1e05ad3c603322ea5f6 | |
| parent | 5ccd466c8249e954f140aff34c6e0f4f4d2751d5 (diff) | |
| download | emacs-3a7089c180e0fdaf7b72514079dc3bdf3627ecfd.tar.gz emacs-3a7089c180e0fdaf7b72514079dc3bdf3627ecfd.zip | |
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
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/makefile.w32-in | 14 | ||||
| -rw-r--r-- | nt/ChangeLog | 4 | ||||
| -rw-r--r-- | nt/config.nt | 3 |
4 files changed, 26 insertions, 0 deletions
| @@ -1,5 +1,10 @@ | |||
| 1 | 2012-11-03 Eli Zaretskii <eliz@gnu.org> | 1 | 2012-11-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/fpending.$(O) and | ||
| 4 | $(BLD)/close-stream.$(O). | ||
| 5 | ($(BLD)/close-stream.$(O)): | ||
| 6 | ($(BLD)/fpending.$(O)): New dependencies. | ||
| 7 | |||
| 3 | * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed. | 8 | * config.bat: Copy lib/execinfo.in.h to lib/execinfo.in-h if needed. |
| 4 | 9 | ||
| 5 | 2012-11-03 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2012-11-03 Paul Eggert <eggert@cs.ucla.edu> |
diff --git a/lib/makefile.w32-in b/lib/makefile.w32-in index f0cea56f829..7e807278a40 100644 --- a/lib/makefile.w32-in +++ b/lib/makefile.w32-in | |||
| @@ -26,9 +26,11 @@ LIBS = | |||
| 26 | GNULIBOBJS = $(BLD)/c-ctype.$(O) \ | 26 | GNULIBOBJS = $(BLD)/c-ctype.$(O) \ |
| 27 | $(BLD)/c-strcasecmp.$(O) \ | 27 | $(BLD)/c-strcasecmp.$(O) \ |
| 28 | $(BLD)/c-strncasecmp.$(O) \ | 28 | $(BLD)/c-strncasecmp.$(O) \ |
| 29 | $(BLD)/close-stream.$(O) \ | ||
| 29 | $(BLD)/dtoastr.$(O) \ | 30 | $(BLD)/dtoastr.$(O) \ |
| 30 | $(BLD)/dtotimespec.$(O) \ | 31 | $(BLD)/dtotimespec.$(O) \ |
| 31 | $(BLD)/execinfo.$(O) \ | 32 | $(BLD)/execinfo.$(O) \ |
| 33 | $(BLD)/fpending.$(O) \ | ||
| 32 | $(BLD)/getopt.$(O) \ | 34 | $(BLD)/getopt.$(O) \ |
| 33 | $(BLD)/getopt1.$(O) \ | 35 | $(BLD)/getopt1.$(O) \ |
| 34 | $(BLD)/gettime.$(O) \ | 36 | $(BLD)/gettime.$(O) \ |
| @@ -114,6 +116,13 @@ $(BLD)/c-strcasecmp.$(O) : \ | |||
| 114 | $(CONFIG_H) \ | 116 | $(CONFIG_H) \ |
| 115 | $(C_CTYPE_H) | 117 | $(C_CTYPE_H) |
| 116 | 118 | ||
| 119 | $(BLD)/close-stream.$(O) : \ | ||
| 120 | $(GNU_LIB)/close-stream.c \ | ||
| 121 | $(GNU_LIB)/close-stream.h \ | ||
| 122 | $(GNU_LIB)/fpending.h \ | ||
| 123 | $(NT_INC)/stdbool.h \ | ||
| 124 | $(CONFIG_H) | ||
| 125 | |||
| 117 | $(BLD)/c-strncasecmp.$(O) : \ | 126 | $(BLD)/c-strncasecmp.$(O) : \ |
| 118 | $(GNU_LIB)/c-strncasecmp.c \ | 127 | $(GNU_LIB)/c-strncasecmp.c \ |
| 119 | $(GNU_LIB)/c-strcase.h \ | 128 | $(GNU_LIB)/c-strcase.h \ |
| @@ -135,6 +144,11 @@ $(BLD)/execinfo.$(O) : \ | |||
| 135 | $(GNU_LIB)/execinfo.h \ | 144 | $(GNU_LIB)/execinfo.h \ |
| 136 | $(CONFIG_H) | 145 | $(CONFIG_H) |
| 137 | 146 | ||
| 147 | $(BLD)/fpending.$(O) : \ | ||
| 148 | $(GNU_LIB)/fpending.c \ | ||
| 149 | $(GNU_LIB)/fpending.h \ | ||
| 150 | $(CONFIG_H) | ||
| 151 | |||
| 138 | $(BLD)/getopt.$(O) : \ | 152 | $(BLD)/getopt.$(O) : \ |
| 139 | $(GNU_LIB)/getopt.c \ | 153 | $(GNU_LIB)/getopt.c \ |
| 140 | $(GNU_LIB)/getopt.h \ | 154 | $(GNU_LIB)/getopt.h \ |
diff --git a/nt/ChangeLog b/nt/ChangeLog index d34d23df4d5..e2e50f11d9b 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-11-03 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * config.nt (PENDING_OUTPUT_N_BYTES): Define. | ||
| 4 | |||
| 1 | 2012-11-01 Eli Zaretskii <eliz@gnu.org> | 5 | 2012-11-01 Eli Zaretskii <eliz@gnu.org> |
| 2 | 6 | ||
| 3 | * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776) | 7 | * inc/unistd.h (setpgid, getpgrp): Provide prototypes. (Bug#12776) |
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/>. */ | |||
| 1219 | /* Number of chars of output in the buffer of a stdio stream. */ | 1219 | /* Number of chars of output in the buffer of a stdio stream. */ |
| 1220 | #undef PENDING_OUTPUT_COUNT | 1220 | #undef PENDING_OUTPUT_COUNT |
| 1221 | 1221 | ||
| 1222 | /* the number of pending output bytes on stream 'fp' */ | ||
| 1223 | #define PENDING_OUTPUT_N_BYTES (fp->_ptr - fp->_base) | ||
| 1224 | |||
| 1222 | /* Define to empty to suppress deprecation warnings when building with | 1225 | /* Define to empty to suppress deprecation warnings when building with |
| 1223 | --enable-gcc-warnings and with libpng versions before 1.5, which lack | 1226 | --enable-gcc-warnings and with libpng versions before 1.5, which lack |
| 1224 | png_longjmp. */ | 1227 | png_longjmp. */ |