Index: gcc/configure.ac
===================================================================
--- gcc/configure.ac	(revision 163517)
+++ gcc/configure.ac	(working copy)
@@ -620,7 +620,7 @@
 ],
 [
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -638,7 +638,7 @@
 case x$enable_decimal_float in
   xyes)
     case $target in
-      i?86*-*-linux* | x86_64*-*-linux*)
+      i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
 	enable_decimal_float=bid
 	;;
       *)
Index: gcc/configure
===================================================================
--- gcc/configure	(revision 163517)
+++ gcc/configure	(working copy)
@@ -6661,7 +6661,7 @@
 else
 
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -6685,7 +6685,7 @@
 case x$enable_decimal_float in
   xyes)
     case $target in
-      i?86*-*-linux* | x86_64*-*-linux*)
+      i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
 	enable_decimal_float=bid
 	;;
       *)
Index: libdecnumber/configure.ac
===================================================================
--- libdecnumber/configure.ac	(revision 163517)
+++ libdecnumber/configure.ac	(working copy)
@@ -89,7 +89,7 @@
 ],
 [
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -103,7 +103,7 @@
 # For the sake of simplicity, just use the default format in this directory
 if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
   case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libdecnumber/configure
===================================================================
--- libdecnumber/configure	(revision 163517)
+++ libdecnumber/configure	(working copy)
@@ -4600,7 +4600,7 @@
 else
 
   case $target in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -4616,7 +4616,7 @@
 # For the sake of simplicity, just use the default format in this directory
 if test x$enable_decimal_float = xyes -o x$enable_decimal_float = xno; then
   case $target in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libgcc/configure.ac
===================================================================
--- libgcc/configure.ac	(revision 163517)
+++ libgcc/configure.ac	(working copy)
@@ -139,7 +139,7 @@
 ],
 [
   case $host in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -151,7 +151,7 @@
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
   case $host in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
Index: libgcc/configure
===================================================================
--- libgcc/configure	(revision 163517)
+++ libgcc/configure	(working copy)
@@ -3646,7 +3646,7 @@
 else
 
   case $host in
-    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux*)
+    powerpc*-*-linux* | i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=yes
       ;;
     *)
@@ -3660,7 +3660,7 @@
 # x86's use BID format instead of DPD
 if test x$enable_decimal_float = xyes; then
   case $host in
-    i?86*-*-linux* | x86_64*-*-linux*)
+    i?86*-*-linux* | x86_64*-*-linux* | i?86*-w64-mingw* | x86_64*-w64-mingw*)
       enable_decimal_float=bid
       ;;
     *)
