diff options
-rw-r--r-- | malloc/set-freeres.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/malloc/set-freeres.c b/malloc/set-freeres.c index 42d70d3971..1aab34b586 100644 --- a/malloc/set-freeres.c +++ b/malloc/set-freeres.c @@ -51,8 +51,10 @@ # pragma weak __libc_printf_freemem # pragma weak __libc_fmtmsg_freemem # pragma weak __libc_setenv_freemem -# pragma weak __rpc_freemem -# pragma weak __rpc_thread_destroy +# if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_31) +# pragma weak __rpc_freemem +# pragma weak __rpc_thread_destroy +# endif # pragma weak __libc_getaddrinfo_freemem # pragma weak __libc_tzset_freemem # pragma weak __libc_localealias_freemem |