set errno in malloc_get_state to match glibc
This commit is contained in:
parent
a45dacc57b
commit
89faba4232
@ -2018,6 +2018,7 @@ COLD EXPORT void h_malloc_enable(void) {
|
|||||||
|
|
||||||
#ifdef __GLIBC__
|
#ifdef __GLIBC__
|
||||||
COLD EXPORT void *h_malloc_get_state(void) {
|
COLD EXPORT void *h_malloc_get_state(void) {
|
||||||
|
errno = ENOSYS;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user