diff options
Diffstat (limited to 'malloc')
-rw-r--r-- | malloc/thread-freeres.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/malloc/thread-freeres.c b/malloc/thread-freeres.c index 75d3014d6e..cc9db39202 100644 --- a/malloc/thread-freeres.c +++ b/malloc/thread-freeres.c @@ -21,6 +21,7 @@ #include <libc-internal.h> #include <set-hooks.h> +#ifdef _LIBC_REENTRANT DEFINE_HOOK (__libc_thread_subfreeres, (void)); void __attribute__ ((section ("__libc_thread_freeres_fn"))) @@ -28,3 +29,4 @@ __libc_thread_freeres (void) { RUN_HOOK (__libc_thread_subfreeres, ()); } +#endif |