aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32proc.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/w32proc.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/w32proc.c')
-rw-r--r--src/w32proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32proc.c b/src/w32proc.c
index dc91910d9a7..b255c57cd7c 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -2909,7 +2909,7 @@ int_from_hex (char * s)
2909 function isn't given a context pointer. */ 2909 function isn't given a context pointer. */
2910Lisp_Object Vw32_valid_locale_ids; 2910Lisp_Object Vw32_valid_locale_ids;
2911 2911
2912static BOOL CALLBACK 2912static BOOL CALLBACK ALIGN_STACK
2913enum_locale_fn (LPTSTR localeNum) 2913enum_locale_fn (LPTSTR localeNum)
2914{ 2914{
2915 DWORD id = int_from_hex (localeNum); 2915 DWORD id = int_from_hex (localeNum);
@@ -2973,7 +2973,7 @@ If successful, the new locale id is returned, otherwise nil. */)
2973 function isn't given a context pointer. */ 2973 function isn't given a context pointer. */
2974Lisp_Object Vw32_valid_codepages; 2974Lisp_Object Vw32_valid_codepages;
2975 2975
2976static BOOL CALLBACK 2976static BOOL CALLBACK ALIGN_STACK
2977enum_codepage_fn (LPTSTR codepageNum) 2977enum_codepage_fn (LPTSTR codepageNum)
2978{ 2978{
2979 DWORD id = atoi (codepageNum); 2979 DWORD id = atoi (codepageNum);