summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/oldsemaphore.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/oldsemaphore.c')
-rw-r--r--libpthread/linuxthreads/oldsemaphore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/oldsemaphore.c b/libpthread/linuxthreads/oldsemaphore.c
index 225af508f..3a3b3d186 100644
--- a/libpthread/linuxthreads/oldsemaphore.c
+++ b/libpthread/linuxthreads/oldsemaphore.c
@@ -224,7 +224,7 @@ static void sem_restart_list(pthread_descr waiting)
}
}
-#if defined __PIC__ && DO_VERSIONING
+#if defined __PIC__ && defined DO_VERSIONING
symbol_version (__old_sem_init, sem_init, GLIBC_2.0);
symbol_version (__old_sem_wait, sem_wait, GLIBC_2.0);
symbol_version (__old_sem_trywait, sem_trywait, GLIBC_2.0);