diff options
Diffstat (limited to 'nptl/pthread_key_create.c')
-rw-r--r-- | nptl/pthread_key_create.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nptl/pthread_key_create.c b/nptl/pthread_key_create.c index a642c6929f..3f0071a4aa 100644 --- a/nptl/pthread_key_create.c +++ b/nptl/pthread_key_create.c @@ -51,3 +51,13 @@ __pthread_key_create (key, destr) } strong_alias (__pthread_key_create, pthread_key_create) hidden_def (__pthread_key_create) + +#ifdef SHARED +# include <shlib-compat.h> +strong_alias (__pthread_key_create, __pthread_key_create_2_0) +strong_alias (__pthread_key_create, __pthread_key_create_private) +compat_symbol (libpthread, __pthread_key_create_2_0, + __pthread_key_create, GLIBC_2_0); +compat_symbol (libpthread, __pthread_key_create_private, + __pthread_key_create, GLIBC_PRIVATE); +#endif |