aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 8b124737f..7b6b27016 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -50,7 +50,8 @@ AC_DEFUN([CURL_CHECK_NATIVE_WINDOWS], [
AC_COMPILE_IFELSE([
AC_LANG_PROGRAM([[
]],[[
-#if defined(__MINGW32__) || defined(__MINGW32CE__)
+#if defined(__MINGW32__) || defined(__MINGW32CE__) || \
+ (defined(_MSC_VER) && (defined(_WIN32) || defined(_WIN64)))
int dummy=1;
#else
Not a native Windows build target.