diff options
| author | Juanma Barranquero | 2012-07-07 02:20:56 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-07-07 02:20:56 +0200 |
| commit | 07adc2c63b17a5829879886901cb731483a469cd (patch) | |
| tree | eac3be41bbf371c67e34ee95181cabd2e73d09ae /src | |
| parent | 82fd0d8bed18ab961c9060325de4f17ed0ad94c9 (diff) | |
| download | emacs-07adc2c63b17a5829879886901cb731483a469cd.tar.gz emacs-07adc2c63b17a5829879886901cb731483a469cd.zip | |
Update Windows port to gnulib changes in 2012-07-06T21:07:46Z!eggert@cs.ucla.edu.
* lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
Update dependencies.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
$(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
($(BLD)/c-strncasecmp.$(O)): New dependencies.
* src/makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)):
Update dependencies.
* src/s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/makefile.w32-in | 2 | ||||
| -rw-r--r-- | src/s/ms-w32.h | 6 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3f8cbdff476..ef2d06dc5b0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2012-07-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)): | ||
| 4 | Update dependencies. | ||
| 5 | |||
| 6 | * s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp. | ||
| 7 | |||
| 1 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> | 8 | 2012-07-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 9 | ||
| 3 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). | 10 | Use c_strcasecmp for ASCII case-insensitive comparison (Bug#11786). |
diff --git a/src/makefile.w32-in b/src/makefile.w32-in index 021823cf5a4..5459224eb10 100644 --- a/src/makefile.w32-in +++ b/src/makefile.w32-in | |||
| @@ -412,6 +412,7 @@ DIR_H = $(NT_INC)/sys/dir.h \ | |||
| 412 | W32GUI_H = $(SRC)/w32gui.h \ | 412 | W32GUI_H = $(SRC)/w32gui.h \ |
| 413 | $(SYSTIME_H) | 413 | $(SYSTIME_H) |
| 414 | DISPEXTERN_H = $(SRC)/dispextern.h \ | 414 | DISPEXTERN_H = $(SRC)/dispextern.h \ |
| 415 | $(GNU_LIB)/c-strcase.h \ | ||
| 415 | $(SYSTIME_H) \ | 416 | $(SYSTIME_H) \ |
| 416 | $(W32GUI_H) | 417 | $(W32GUI_H) |
| 417 | FILEMODE_H = $(GNU_LIB)/filemode.h \ | 418 | FILEMODE_H = $(GNU_LIB)/filemode.h \ |
| @@ -1269,7 +1270,6 @@ $(BLD)/regex.$(O) : \ | |||
| 1269 | $(SRC)/category.h \ | 1270 | $(SRC)/category.h \ |
| 1270 | $(SRC)/regex.h \ | 1271 | $(SRC)/regex.h \ |
| 1271 | $(SRC)/syntax.h \ | 1272 | $(SRC)/syntax.h \ |
| 1272 | $(NT_INC)/unistd.h \ | ||
| 1273 | $(BUFFER_H) \ | 1273 | $(BUFFER_H) \ |
| 1274 | $(CHARACTER_H) \ | 1274 | $(CHARACTER_H) \ |
| 1275 | $(CONFIG_H) \ | 1275 | $(CONFIG_H) \ |
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index 866ffc9c048..1557edaa161 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -148,12 +148,6 @@ struct sigaction { | |||
| 148 | #define MAXPATHLEN _MAX_PATH | 148 | #define MAXPATHLEN _MAX_PATH |
| 149 | #endif | 149 | #endif |
| 150 | 150 | ||
| 151 | /* MinGW has these in its library; MSVC doesn't. */ | ||
| 152 | #ifdef _MSC_VER | ||
| 153 | #define strcasecmp(s1,s2) _stricmp(s1,s2) | ||
| 154 | #define strncasecmp(s1,s2) _strnicmp(s1,s2) | ||
| 155 | #endif | ||
| 156 | |||
| 157 | #ifdef HAVE_NTGUI | 151 | #ifdef HAVE_NTGUI |
| 158 | #define HAVE_WINDOW_SYSTEM 1 | 152 | #define HAVE_WINDOW_SYSTEM 1 |
| 159 | #define HAVE_MENUS 1 | 153 | #define HAVE_MENUS 1 |