mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
mdash/mingw does not support %zu
This commit is contained in:
1 parent
02625d3bb6
commit
f84598f66a
2 files changed
+5
-5
No files matched your search
+2
-2
@@ -2321,8 +2321,8 @@ static void test_str(void) {
|
||||
ASSERT(chkdbl(mg_str("123e-3"), 0.123));
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1700
|
||||
// VC98 does not have '%zu'
|
||||
#if defined(NO_ZU_TEST) || (defined(_MSC_VER) && _MSC_VER < 1700)
|
||||
// VC98 does not have '%zu', some old compilers may also not support it
|
||||
#else
|
||||
ASSERT(sn("%zu", 0));
|
||||
ASSERT(sn("%zu", -1));
|
||||
|
||||
Reference in new issue
Block a user