diff --git a/tests/cpp_tests/conversions_test.cpp b/tests/cpp_tests/conversions_test.cpp index ab1088c31..6f750840a 100644 --- a/tests/cpp_tests/conversions_test.cpp +++ b/tests/cpp_tests/conversions_test.cpp @@ -5,13 +5,13 @@ #include #include -#if defined(_MSC_VER) +#if defined(_MSC_VER) && _MSC_VER < 1900 #include #endif int main(int argc, char** argv) { - #if defined(_MSC_VER) + #if defined(_MSC_VER) && _MSC_VER < 1900 unsigned int old = _set_output_format(_TWO_DIGIT_EXPONENT); #endif std::vector args;