changeset 112134:4c86fe2e7016

Use __builtin_unwind_init in MinGW builds of w32 port. config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 07 Jan 2011 12:16:20 +0200
parents 0057170b4509
children 6d81f1e1ce53 65b4d3ce5323
files nt/ChangeLog nt/config.nt
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/ChangeLog	Fri Jan 07 18:28:29 2011 +0900
+++ b/nt/ChangeLog	Fri Jan 07 12:16:20 2011 +0200
@@ -1,3 +1,7 @@
+2011-01-07  Eli Zaretskii  <eliz@gnu.org>
+
+	* config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.
+
 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
 
 	* configure.bat (end): Unset environment variables used by this
--- a/nt/config.nt	Fri Jan 07 18:28:29 2011 +0900
+++ b/nt/config.nt	Fri Jan 07 12:16:20 2011 +0200
@@ -287,6 +287,10 @@
 #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