From 92e1ab0eb58c57d5843fa982ff6c24f551f2f634 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 20 Jun 2016 11:11:29 +0200 Subject: Revert __malloc_initialize_hook symbol poisoning It turns out the Emacs-internal malloc implementation uses __malloc_* symbols. If glibc poisons them in , Emacs will no longer compile. --- include/stdc-predef.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') 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 . */ #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 -- cgit v1.1