+2014-01-11 Fabrice Popineau <fabrice.popineau@gmail.com>
+
+ * configure.ac: Read $srcdir/nt/mingw-cfg.site when $MSYSTEM is
+ "MINGW64" as well.
+
2014-01-11 Paul Eggert <eggert@cs.ucla.edu>
Merge from gnulib, incorporating:
AC_PREREQ(2.65)
AC_INIT(emacs, 24.3.50)
-if test "x$MSYSTEM" = "xMINGW32"
+dnl We get MINGW64 with MSYS2
+if test "x$MSYSTEM" = "xMINGW32" -o "x$MSYSTEM" = "xMINGW64"
then
. $srcdir/nt/mingw-cfg.site
+2014-01-11 Fabrice Popineau <fabrice.popineau@supelec.fr>
+
+ * inc/ms-w32.h (pthread_sigmask): Undefine if defined, for MinGW64.
+
2013-12-31 Fabrice Popineau <fabrice.popineau@supelec.fr>
* inc/ms-w32.h (sys_kill): Fix prototype.
extern int sigaddset (sigset_t *, int);
extern int sigfillset (sigset_t *);
extern int sigprocmask (int, const sigset_t *, sigset_t *);
+/* MinGW64 defines pthread_sigmask as zero in its pthread_signal.h
+ header, but we have an implementation for that function in w32proc.c. */
+#ifdef pthread_sigmask
+#undef pthread_sigmask
+#endif
extern int pthread_sigmask (int, const sigset_t *, sigset_t *);
extern int sigismember (const sigset_t *, int);
extern int setpgrp (int, int);
+2014-01-11 Fabrice Popineau <fabrice.popineau@gmail.com>
+
+ * unexw32.c (_start) [__MINGW64__]: Define to __start.
+
2014-01-11 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (try_window_id): Don't use this function's optimizations
PIMAGE_SECTION_HEADER heap_section;
+/* MinGW64 doesn't add a leading underscore to external symbols,
+ whereas configure.ac sets up LD_SWITCH_SYSTEM_TEMACS to force the
+ entry point at __start, with two underscores. */
+#ifdef __MINGW64__
+#define _start __start
+#endif
+
/* Startup code for running on NT. When we are running as the dumped
version, we need to bootstrap our heap and .bss section into our
address space before we can actually hand off control to the startup