diff --git a/numpy/distutils/misc_util.py b/numpy/distutils/misc_util.py
index a8e19d5..432ee8b 100644
--- a/numpy/distutils/misc_util.py
+++ b/numpy/distutils/misc_util.py
@@ -392,6 +392,10 @@ def mingw32():
             return True
         if os.environ.get('MSYSTEM', '')=='MINGW32':
             return True
+        if os.environ.get('MSYSTEM', '')=='MINGW64':
+            return True
+        if 'GCC' in sys.version:
+            return True
     return False
 
 def msvc_runtime_version():
