aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32fns.c
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/w32fns.c
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/w32fns.c')
-rw-r--r--src/w32fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 2b77bb737b6..0a8bde1f661 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -5012,7 +5012,7 @@ If omitted or nil, that stands for the selected frame's display. */)
5012 return Qnil; 5012 return Qnil;
5013} 5013}
5014 5014
5015static BOOL CALLBACK 5015static BOOL CALLBACK ALIGN_STACK
5016w32_monitor_enum (HMONITOR monitor, HDC hdc, RECT *rcMonitor, LPARAM dwData) 5016w32_monitor_enum (HMONITOR monitor, HDC hdc, RECT *rcMonitor, LPARAM dwData)
5017{ 5017{
5018 Lisp_Object *monitor_list = (Lisp_Object *) dwData; 5018 Lisp_Object *monitor_list = (Lisp_Object *) dwData;