diff options
Diffstat (limited to 'nptl/sem_post.c')
-rw-r--r-- | nptl/sem_post.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nptl/sem_post.c b/nptl/sem_post.c index c888fa6..d56a6ed 100644 --- a/nptl/sem_post.c +++ b/nptl/sem_post.c @@ -76,10 +76,13 @@ __new_sem_post (sem_t *sem) return 0; } -versioned_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_1); +versioned_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_34); +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_34) +compat_symbol (libpthread, __new_sem_post, sem_post, GLIBC_2_1); +#endif -#if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) +#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_1) int attribute_compat_text_section __old_sem_post (sem_t *sem) |