tagging mi_is_get_aligned_hint as unused for now

This commit is contained in:
David Carlier 2019-11-18 08:17:42 +00:00
parent 1de6c22b49
commit 7fe118297b

View file

@ -441,7 +441,8 @@ static void* mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
return (void*)hint;
}
#else
static void* mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
// Disabled at the moment, not used anywhere by oses not supporting map aligned flag
static void* __attribute__((unused)) mi_os_get_aligned_hint(size_t try_alignment, size_t size) {
UNUSED(try_alignment); UNUSED(size);
return NULL;
}