1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Revert __malloc_initialize_hook symbol poisoning

It turns out the Emacs-internal malloc implementation uses
__malloc_* symbols.  If glibc poisons them in <stdc-pre.h>,
Emacs will no longer compile.
This commit is contained in:
Florian Weimer
2016-06-20 11:11:29 +02:00
parent e3c0687de1
commit 92e1ab0eb5
7 changed files with 18 additions and 30 deletions

View File

@ -27,4 +27,4 @@ turn_on_mcheck (void)
mcheck (NULL);
}
void (*old__malloc_initialize_hook) (void) = turn_on_mcheck;
void (*__malloc_initialize_hook) (void) = turn_on_mcheck;