summaryrefslogtreecommitdiff
path: root/src/lisp.h
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2014-09-25 12:34:53 +0300
committerEli Zaretskii <eliz@gnu.org>2014-09-25 12:34:53 +0300
commitdb61bdb13915a15896ffb96d1ea3d23e00f4bf54 (patch)
tree9fb3faba58b2ec6b9da881003bc742ea97df634f /src/lisp.h
parent340e4cce7aaa1de72d384e4889f0f8aa65025874 (diff)
downloademacs-db61bdb13915a15896ffb96d1ea3d23e00f4bf54.tar.gz
emacs-db61bdb13915a15896ffb96d1ea3d23e00f4bf54.tar.bz2
emacs-db61bdb13915a15896ffb96d1ea3d23e00f4bf54.zip
Default to stack objects on DOS_NT platforms as well.
src/w32term.h (ALIGN_STACK) [__GNUC__]: Define to __attribute__((force_align_arg_pointer)) for GCC 4.2 and later. src/lisp.h (USE_STACK_LISP_OBJECTS): Remove the !DOS_NT condition. src/w32proc.c (enum_locale_fn, enum_codepage_fn): Add the ALIGN_STACK attribute. src/w32fns.c (w32_monitor_enum): Add the ALIGN_STACK attribute. src/w32uniscribe.c (add_opentype_font_name_to_list): Add the ALIGN_STACK attribute. src/w32font.c (add_font_name_to_list, add_font_entity_to_list) (add_one_font_entity_to_list): Add the ALIGN_STACK attribute.
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h
index 4cd2e69dac3..f76008e8f5e 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -282,12 +282,10 @@ error !;
# endif
#endif
-/* This should work with GCC on non-DOS_NT. Clang has known problems; see
- http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html.
- Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html
- describes an issue with 32-bit MS-Windows. */
+/* This should work with GCC. Clang has known problems; see
+ http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html. */
#ifndef USE_STACK_LISP_OBJECTS
-# if defined __GNUC__ && !defined __clang__ && !defined DOS_NT
+# if defined __GNUC__ && !defined __clang__
# define USE_STACK_LISP_OBJECTS true
# else
# define USE_STACK_LISP_OBJECTS false