summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_compile_stdcxx.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_cxx_compile_stdcxx.m4')
-rw-r--r--m4/ax_cxx_compile_stdcxx.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ax_cxx_compile_stdcxx.m4 b/m4/ax_cxx_compile_stdcxx.m4
index 5032bba..acc0db2 100644
--- a/m4/ax_cxx_compile_stdcxx.m4
+++ b/m4/ax_cxx_compile_stdcxx.m4
@@ -174,7 +174,7 @@ m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[
#error "This is not a C++ compiler"
-#elif __cplusplus < 201103L
+#elif __cplusplus < 201103L && !(defined _MSC_VER)
#error "This is not a C++11 compiler"