diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-20 11:11:29 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-20 11:11:29 +0200 |
commit | 92e1ab0eb58c57d5843fa982ff6c24f551f2f634 (patch) | |
tree | e9080190c7a4e80722d4d30ca22ed55bc09bff09 /include | |
parent | e3c0687de17a97e5dcd991841b54bec181b30e90 (diff) | |
download | glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.zip glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.tar.gz glibc-92e1ab0eb58c57d5843fa982ff6c24f551f2f634.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdc-predef.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/stdc-predef.h b/include/stdc-predef.h index 52cf8d1..f9f7f73 100644 --- a/include/stdc-predef.h +++ b/include/stdc-predef.h @@ -57,11 +57,4 @@ /* We do not support C11 <threads.h>. */ #define __STDC_NO_THREADS__ 1 -/* Remove symbols from the API which can be interposed. */ -#if defined (__GNUC__) -# if __GNUC__ >= 4 -# pragma GCC poison __malloc_initialize_hook -# endif /* __GNUC__ >= 4 */ -#endif /* __GNUC__ */ - #endif |