aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2012-07-14 04:26:31 +0200
committerJuanma Barranquero2012-07-14 04:26:31 +0200
commit22e983b7ec9aa42966cda353e3039240279edc1b (patch)
tree0d80615cd7fced6eaceee8ee1bf65c6960124d24
parentbe755c79bdba0a187af6541b0fea7d55d5b23754 (diff)
downloademacs-22e983b7ec9aa42966cda353e3039240279edc1b.tar.gz
emacs-22e983b7ec9aa42966cda353e3039240279edc1b.zip
* nt/config.nt: Sync with autogen/config.in.
(GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS) (SETUP_SLAVE_PTY): New macros. * src/s/ms-w32.h (GC_SETJMP_WORKS, GC_MARK_STACK): Set in nt/config.nt.
-rw-r--r--nt/ChangeLog6
-rw-r--r--nt/config.nt25
-rw-r--r--src/ChangeLog4
-rw-r--r--src/s/ms-w32.h7
4 files changed, 26 insertions, 16 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 4d1ecbb30e9..16a6577cb6c 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,9 @@
12012-07-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * config.nt: Sync with autogen/config.in.
4 (GC_MARK_SECONDARY_STACK, GC_MARK_STACK, GC_SETJMP_WORKS)
5 (SETUP_SLAVE_PTY): New macros.
6
12012-07-13 Juanma Barranquero <lekktu@gmail.com> 72012-07-13 Juanma Barranquero <lekktu@gmail.com>
2 8
3 * config.nt: Sync with autogen/config.in. 9 * config.nt: Sync with autogen/config.in.
diff --git a/nt/config.nt b/nt/config.nt
index bf1feff316a..d727cd3fafd 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -160,6 +160,19 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
160/* Define this to check for short string overrun. */ 160/* Define this to check for short string overrun. */
161#undef GC_CHECK_STRING_OVERRUN 161#undef GC_CHECK_STRING_OVERRUN
162 162
163/* Mark a secondary stack, like the register stack on the ia64. */
164#undef GC_MARK_SECONDARY_STACK
165
166/* Define to GC_USE_GCPROS_AS_BEFORE if conservative garbage collection is not
167 known to work. */
168#define GC_MARK_STACK 1
169
170/* Define if setjmp is known to save all registers relevant for conservative
171 garbage collection in the jmp_buf.
172 MSVC ignores the "register" keyword, so test fails even though
173 setjmp does work. */
174#define GC_SETJMP_WORKS 1
175
163/* Define to 1 if the `getpgrp' function requires zero arguments. */ 176/* Define to 1 if the `getpgrp' function requires zero arguments. */
164#undef GETPGRP_VOID 177#undef GETPGRP_VOID
165 178
@@ -1238,6 +1251,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1238/* Define if process.c:child_setup should not call setpgrp. */ 1251/* Define if process.c:child_setup should not call setpgrp. */
1239#undef SETPGRP_RELEASES_CTTY 1252#undef SETPGRP_RELEASES_CTTY
1240 1253
1254/* How to set up a slave PTY, if needed. */
1255#undef SETUP_SLAVE_PTY
1256
1241/* Make process_send_signal work by "typing" a signal character on the pty. */ 1257/* Make process_send_signal work by "typing" a signal character on the pty. */
1242#undef SIGNALS_VIA_CHARACTERS 1258#undef SIGNALS_VIA_CHARACTERS
1243 1259
@@ -1668,15 +1684,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1668#undef noinline 1684#undef noinline
1669#endif 1685#endif
1670 1686
1671/* These won't be used automatically yet. We also need to know, at least,
1672 that the stack is continuous. */
1673#ifdef __GNUC__
1674# ifndef GC_SETJMP_WORKS
1675 /* GC_SETJMP_WORKS is nearly always appropriate for GCC. */
1676# define GC_SETJMP_WORKS 1
1677# endif
1678#endif
1679
1680#endif /* EMACS_CONFIG_H */ 1687#endif /* EMACS_CONFIG_H */
1681 1688
1682/* 1689/*
diff --git a/src/ChangeLog b/src/ChangeLog
index 5f363b2bffb..bdaa69f0556 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-07-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * s/ms-w32.h (GC_SETJMP_WORKS, GC_MARK_STACK): Set in nt/config.nt.
4
12012-07-14 Glenn Morris <rgm@gnu.org> 52012-07-14 Glenn Morris <rgm@gnu.org>
2 6
3 * s/aix4-2.h, s/freebsd.h, s/gnu-linux.h, s/hpux10-20.h: 7 * s/aix4-2.h, s/freebsd.h, s/gnu-linux.h, s/hpux10-20.h:
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index cf8ba6f220c..7128d8a069d 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -50,13 +50,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
50 for received packets, so datagrams are broken too. */ 50 for received packets, so datagrams are broken too. */
51#define BROKEN_DATAGRAM_SOCKETS 1 51#define BROKEN_DATAGRAM_SOCKETS 1
52 52
53/* MSVC ignores the "register" keyword, so test fails even though
54 setjmp does work. */
55#define GC_SETJMP_WORKS 1
56
57/* Enable conservative stack marking for GC. */
58#define GC_MARK_STACK 1
59
60#define MAIL_USE_SYSTEM_LOCK 1 53#define MAIL_USE_SYSTEM_LOCK 1
61 54
62/* If the character used to separate elements of the executable path 55/* If the character used to separate elements of the executable path