1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-01 14:06:55 +03:00

Enforce two digit exponent under MSVC

This makes the test output match UNIX.
This commit is contained in:
Nick Wellnhofer
2016-02-25 14:53:12 +01:00
parent e75b5da121
commit 7219c6c3ee

View File

@ -560,6 +560,10 @@ main(int argc, char **argv)
srand(time(NULL));
xmlInitMemory();
#if defined(_MSC_VER) && _MSC_VER < 1900
_set_output_format(_TWO_DIGIT_EXPONENT);
#endif
LIBXML_TEST_VERSION
sec = xsltNewSecurityPrefs();