diff options
| author | Juanma Barranquero | 2012-08-03 14:16:40 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2012-08-03 14:16:40 +0200 |
| commit | 3fbc4b542cd022e5f66cbdd04860f4b84be08e80 (patch) | |
| tree | 02d1c447e8fdcaee0069f8cfab6132f329b509d5 | |
| parent | 18949c2f13317a6d679648efe4399c84101f6fab (diff) | |
| download | emacs-3fbc4b542cd022e5f66cbdd04860f4b84be08e80.tar.gz emacs-3fbc4b542cd022e5f66cbdd04860f4b84be08e80.zip | |
* nt/config.nt: Sync with autogen/config.in.
(DOS_NT, MSDOS): New macros.
(WRETCODE, wait3): Remove.
* nt/inc/ms-w32.h (DOS_NT): Remove; defined in config.nt.
* lib-src/makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT,
they are always defined in config.h.
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/makefile.w32-in | 3 | ||||
| -rw-r--r-- | nt/ChangeLog | 8 | ||||
| -rw-r--r-- | nt/config.nt | 12 | ||||
| -rw-r--r-- | nt/inc/ms-w32.h | 3 |
5 files changed, 20 insertions, 11 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index c98d377f199..28232c1abc4 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-08-03 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * makefile.w32-in (LOCAL_FLAGS): Remove WINDOWSNT and DOS_NT, | ||
| 4 | they are always defined in config.h. | ||
| 5 | |||
| 1 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> | 6 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 7 | ||
| 3 | * ntlib.c (lstat): New function, calls 'stat'. | 8 | * ntlib.c (lstat): New function, calls 'stat'. |
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in index 26605b8ba4e..a03d761e7ec 100644 --- a/lib-src/makefile.w32-in +++ b/lib-src/makefile.w32-in | |||
| @@ -23,8 +23,7 @@ ALL = $(BLD)/test-distrib.exe $(BLD)/make-docfile.exe $(BLD)/hexl.exe\ | |||
| 23 | 23 | ||
| 24 | .PHONY: make-docfile | 24 | .PHONY: make-docfile |
| 25 | 25 | ||
| 26 | LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \ | 26 | LOCAL_FLAGS = -DNO_LDAV=1 -DNO_ARCHIVES=1 -I../lib \ |
| 27 | -DNO_ARCHIVES=1 -I../lib \ | ||
| 28 | -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS) | 27 | -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS) |
| 29 | 28 | ||
| 30 | LIBS = $(BASE_LIBS) $(ADVAPI32) | 29 | LIBS = $(BASE_LIBS) $(ADVAPI32) |
diff --git a/nt/ChangeLog b/nt/ChangeLog index d8b9b14a3fb..966407e5ed3 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2012-08-03 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * config.nt: Sync with autogen/config.in. | ||
| 4 | (DOS_NT, MSDOS): New macros. | ||
| 5 | (WRETCODE, wait3): Remove. | ||
| 6 | |||
| 7 | * inc/ms-w32.h (DOS_NT): Remove; defined in config.nt. | ||
| 8 | |||
| 1 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> | 9 | 2012-08-03 Eli Zaretskii <eliz@gnu.org> |
| 2 | 10 | ||
| 3 | * inc/sys/stat.h (S_IFLNK): Define. | 11 | * inc/sys/stat.h (S_IFLNK): Define. |
diff --git a/nt/config.nt b/nt/config.nt index 1c05fcb6497..abc90687e3f 100644 --- a/nt/config.nt +++ b/nt/config.nt | |||
| @@ -133,6 +133,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 133 | we did ioctl TIOCSCTTY). */ | 133 | we did ioctl TIOCSCTTY). */ |
| 134 | #undef DONT_REOPEN_PTY | 134 | #undef DONT_REOPEN_PTY |
| 135 | 135 | ||
| 136 | /* Define if the system is MS DOS or MS Windows. */ | ||
| 137 | #define DOS_NT | ||
| 138 | |||
| 136 | /* Define to 1 if you are using the GNU C Library. */ | 139 | /* Define to 1 if you are using the GNU C Library. */ |
| 137 | #undef DOUG_LEA_MALLOC | 140 | #undef DOUG_LEA_MALLOC |
| 138 | 141 | ||
| @@ -1161,6 +1164,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1161 | /* Define to support POP mail retrieval. */ | 1164 | /* Define to support POP mail retrieval. */ |
| 1162 | #define MAIL_USE_POP 1 | 1165 | #define MAIL_USE_POP 1 |
| 1163 | 1166 | ||
| 1167 | /* Define if the system is MS DOS. */ | ||
| 1168 | #undef MSDOS | ||
| 1169 | |||
| 1164 | /* Define if system's imake configuration file defines `NeedWidePrototypes' as | 1170 | /* Define if system's imake configuration file defines `NeedWidePrototypes' as |
| 1165 | `NO'. */ | 1171 | `NO'. */ |
| 1166 | #undef NARROWPROTO | 1172 | #undef NARROWPROTO |
| @@ -1427,9 +1433,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1427 | # endif | 1433 | # endif |
| 1428 | #endif | 1434 | #endif |
| 1429 | 1435 | ||
| 1430 | /* Some platforms redefine this. */ | ||
| 1431 | #undef WRETCODE | ||
| 1432 | |||
| 1433 | /* Define this to check for malloc buffer overrun. */ | 1436 | /* Define this to check for malloc buffer overrun. */ |
| 1434 | #undef XMALLOC_OVERRUN_CHECK | 1437 | #undef XMALLOC_OVERRUN_CHECK |
| 1435 | 1438 | ||
| @@ -1671,9 +1674,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 1671 | /* Define as `fork' if `vfork' does not work. */ | 1674 | /* Define as `fork' if `vfork' does not work. */ |
| 1672 | #undef vfork | 1675 | #undef vfork |
| 1673 | 1676 | ||
| 1674 | /* Some platforms redefine this. */ | ||
| 1675 | #undef wait3 | ||
| 1676 | |||
| 1677 | #include <conf_post.h> | 1677 | #include <conf_post.h> |
| 1678 | 1678 | ||
| 1679 | #endif /* EMACS_CONFIG_H */ | 1679 | #endif /* EMACS_CONFIG_H */ |
diff --git a/nt/inc/ms-w32.h b/nt/inc/ms-w32.h index 8c02a8b8a66..82590e2c350 100644 --- a/nt/inc/ms-w32.h +++ b/nt/inc/ms-w32.h | |||
| @@ -23,9 +23,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | #ifndef WINDOWSNT | 23 | #ifndef WINDOWSNT |
| 24 | #define WINDOWSNT | 24 | #define WINDOWSNT |
| 25 | #endif | 25 | #endif |
| 26 | #ifndef DOS_NT | ||
| 27 | #define DOS_NT /* MSDOS or WINDOWSNT */ | ||
| 28 | #endif | ||
| 29 | 26 | ||
| 30 | /* #undef const */ | 27 | /* #undef const */ |
| 31 | 28 | ||