diff options
| author | Eli Zaretskii | 2014-09-25 12:34:53 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-09-25 12:34:53 +0300 |
| commit | db61bdb13915a15896ffb96d1ea3d23e00f4bf54 (patch) | |
| tree | 9fb3faba58b2ec6b9da881003bc742ea97df634f /src/w32proc.c | |
| parent | 340e4cce7aaa1de72d384e4889f0f8aa65025874 (diff) | |
| download | emacs-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.c | 4 |
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. */ |
| 2910 | Lisp_Object Vw32_valid_locale_ids; | 2910 | Lisp_Object Vw32_valid_locale_ids; |
| 2911 | 2911 | ||
| 2912 | static BOOL CALLBACK | 2912 | static BOOL CALLBACK ALIGN_STACK |
| 2913 | enum_locale_fn (LPTSTR localeNum) | 2913 | enum_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. */ |
| 2974 | Lisp_Object Vw32_valid_codepages; | 2974 | Lisp_Object Vw32_valid_codepages; |
| 2975 | 2975 | ||
| 2976 | static BOOL CALLBACK | 2976 | static BOOL CALLBACK ALIGN_STACK |
| 2977 | enum_codepage_fn (LPTSTR codepageNum) | 2977 | enum_codepage_fn (LPTSTR codepageNum) |
| 2978 | { | 2978 | { |
| 2979 | DWORD id = atoi (codepageNum); | 2979 | DWORD id = atoi (codepageNum); |