summaryrefslogtreecommitdiff
path: root/gcc/config/i386/mingw32.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/i386/mingw32.h')
-rw-r--r--gcc/config/i386/mingw32.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h
index a5657c083c0..e856ecdbc97 100644
--- a/gcc/config/i386/mingw32.h
+++ b/gcc/config/i386/mingw32.h
@@ -207,7 +207,9 @@ __enable_execute_stack (void *addr) \
#include <windows.h>
#endif
-#if !TARGET_64BIT
+/* For 64-bit Windows we can't use DW2 unwind info. Also for multilib
+ builds we can't use it, too. */
+#if !TARGET_64BIT && !defined (TARGET_BI_ARCH)
#define MD_UNWIND_SUPPORT "config/i386/w32-unwind.h"
#endif