Commit 3f5066b1 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

msvcrt/tests: Fix some tests on Windows 2003 and earlier.

parent bb8d23d5
...@@ -1983,7 +1983,8 @@ static void test__strtod(void) ...@@ -1983,7 +1983,8 @@ static void test__strtod(void)
ok(d == tests[i].ret, "%d) d = %.16e\n", i, d); ok(d == tests[i].ret, "%d) d = %.16e\n", i, d);
ok(end == tests[i].str + tests[i].len, "%d) len = %d\n", ok(end == tests[i].str + tests[i].len, "%d) len = %d\n",
i, (int)(end - tests[i].str)); i, (int)(end - tests[i].str));
ok(errno == tests[i].err, "%d) errno = %d\n", i, errno); ok(errno == tests[i].err || (!tests[i].err && errno == 0xdeadbeef) /* <= 2003 */,
"%d) errno = %d\n", i, errno);
} }
if (!p__strtod_l) if (!p__strtod_l)
......
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