Commit 41185bbe authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'vtkaxis-msvc2015'

698963f1

 msvc2015: _set_output_format is gone
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !567
parents 0589e57d 698963f1
......@@ -1197,7 +1197,7 @@ vtkStdString vtkAxis::GenerateSimpleLabel(double val)
// On Windows, formats with exponents have three digits by default
// whereas on other systems, exponents have two digits. Set to two
// digits on Windows for consistent behavior.
#ifdef _WIN32
#if defined(_MSC_VER) && _MSC_VER < 1900
unsigned int oldWin32ExponentFormat = _set_output_format(_TWO_DIGIT_EXPONENT);
#endif
......@@ -1207,7 +1207,7 @@ vtkStdString vtkAxis::GenerateSimpleLabel(double val)
len = buffSize;
}
#ifdef _WIN32
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(oldWin32ExponentFormat);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment