From db61bdb13915a15896ffb96d1ea3d23e00f4bf54 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 25 Sep 2014 12:34:53 +0300 Subject: 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. --- src/lisp.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/lisp.h') 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 -- cgit v1.2.3