aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/stdc-predef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/stdc-predef.h b/include/stdc-predef.h
index f9f7f731d1..52cf8d10a0 100644
--- a/include/stdc-predef.h
+++ b/include/stdc-predef.h
@@ -57,4 +57,11 @@
/* 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