aboutsummaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-06-06 18:44:39 +0000
committerYang Tse <yangsita@gmail.com>2008-06-06 18:44:39 +0000
commitb39d1e9b9d7c6a3109822f7159b5d0eae95ff086 (patch)
tree76c46678c5e0e4eead5af441adf5975602097440 /acinclude.m4
parente1c456407ea38a08440a61cb0c484921ac1f139c (diff)
MSVC does build Windows native targets
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index b3d64a1d6..9d4ba3e2e 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -72,7 +72,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.