mirror of
https://github.com/microsoft/mimalloc.git
synced 2024-12-28 05:50:51 +08:00
fix warning on clang on macos
This commit is contained in:
parent
ddae097dc6
commit
7cde509b68
@ -183,6 +183,10 @@ static boolean_t intro_zone_locked(malloc_zone_t* zone) {
|
||||
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wc99-extensions"
|
||||
#endif
|
||||
|
||||
static malloc_introspection_t mi_introspect = {
|
||||
.enumerator = &intro_enumerator,
|
||||
.good_size = &intro_good_size,
|
||||
|
Loading…
x
Reference in New Issue
Block a user