mdash/mingw does not support %zu

This commit is contained in:
Sergio R. Caprile committed 2026-07-09 11:57:22 -03:00
1 parent 02625d3bb6
commit f84598f66a
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -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));