aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
authorEli Zaretskii2014-09-25 12:34:53 +0300
committerEli Zaretskii2014-09-25 12:34:53 +0300
commitdb61bdb13915a15896ffb96d1ea3d23e00f4bf54 (patch)
tree9fb3faba58b2ec6b9da881003bc742ea97df634f /src/lisp.h
parent340e4cce7aaa1de72d384e4889f0f8aa65025874 (diff)
downloademacs-db61bdb13915a15896ffb96d1ea3d23e00f4bf54.tar.gz
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 !;
282# endif 282# endif
283#endif 283#endif
284 284
285/* This should work with GCC on non-DOS_NT. Clang has known problems; see 285/* This should work with GCC. Clang has known problems; see
286 http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html. 286 http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00506.html. */
287 Also http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00422.html
288 describes an issue with 32-bit MS-Windows. */
289#ifndef USE_STACK_LISP_OBJECTS 287#ifndef USE_STACK_LISP_OBJECTS
290# if defined __GNUC__ && !defined __clang__ && !defined DOS_NT 288# if defined __GNUC__ && !defined __clang__
291# define USE_STACK_LISP_OBJECTS true 289# define USE_STACK_LISP_OBJECTS true
292# else 290# else
293# define USE_STACK_LISP_OBJECTS false 291# define USE_STACK_LISP_OBJECTS false