aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2014-10-13 15:44:03 +0300
committerEli Zaretskii2014-10-13 15:44:03 +0300
commit2b882ee7556d07f874e3fcf51939604d6dd20197 (patch)
tree46e37e33a5fbda60aed0921bfe3df8184cdca5bc
parent07bcae0d0b5c2ca39c143a99831a3eb3c8c33fa1 (diff)
downloademacs-2b882ee7556d07f874e3fcf51939604d6dd20197.tar.gz
emacs-2b882ee7556d07f874e3fcf51939604d6dd20197.zip
Fix bug #18699 with startup aborts of 32-bit MinGW64 build.
src/w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish between 32-bit and 64-bit MinGW builds.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32term.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index add43dc4b07..3200a315daa 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12014-10-13 Eli Zaretskii <eliz@gnu.org>
2
3 * w32term.h (ALIGN_STACK): Use _WIN64, not _W64, to distinguish
4 between 32-bit and 64-bit MinGW builds. (Bug#18699)
5
12014-10-12 Paul Eggert <eggert@cs.ucla.edu> 62014-10-12 Paul Eggert <eggert@cs.ucla.edu>
2 7
3 Fix port to Debian GNU/kFreeBSD 7 (wheezy) (Bug#18666). 8 Fix port to Debian GNU/kFreeBSD 7 (wheezy) (Bug#18666).
diff --git a/src/w32term.h b/src/w32term.h
index 065ef6a8d72..fb37550100e 100644
--- a/src/w32term.h
+++ b/src/w32term.h
@@ -30,7 +30,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
30 re-align the stack at function entry. Further details about this 30 re-align the stack at function entry. Further details about this
31 can be found in http://www.peterstock.co.uk/games/mingw_sse/. */ 31 can be found in http://www.peterstock.co.uk/games/mingw_sse/. */
32#ifdef __GNUC__ 32#ifdef __GNUC__
33# if USE_STACK_LISP_OBJECTS && !defined _W64 && !defined __x86_64__ \ 33# if USE_STACK_LISP_OBJECTS && !defined _WIN64 && !defined __x86_64__ \
34 && __GNUC__ + (__GNUC_MINOR__ > 1) >= 5 34 && __GNUC__ + (__GNUC_MINOR__ > 1) >= 5
35# define ALIGN_STACK __attribute__((force_align_arg_pointer)) 35# define ALIGN_STACK __attribute__((force_align_arg_pointer))
36# else 36# else