From: Eli Zaretskii Date: Fri, 7 Jan 2011 10:16:20 +0000 (+0200) Subject: Use __builtin_unwind_init in MinGW builds of w32 port. X-Git-Tag: emacs-pretest-24.0.90~104^2~618^2~1322^2~278^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e574bf0ea7e8315207889ad6637391821637acb;p=emacs.git Use __builtin_unwind_init in MinGW builds of w32 port. config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define. --- diff --git a/nt/ChangeLog b/nt/ChangeLog index 31aa081af9c..d1c0cf504ba 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,7 @@ +2011-01-07 Eli Zaretskii + + * config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define. + 2011-01-02 Eli Zaretskii * configure.bat (end): Unset environment variables used by this diff --git a/nt/config.nt b/nt/config.nt index 3df58a29ba3..92e466d185a 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -287,6 +287,10 @@ along with GNU Emacs. If not, see . */ #define EXTERNALLY_VISIBLE #endif +#if (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)) +#define HAVE___BUILTIN_UNWIND_INIT 1 +#endif + #undef EMACS_CONFIGURATION #undef EMACS_CONFIG_OPTIONS