summaryrefslogtreecommitdiff
path: root/pthread/pt-initialize.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-initialize.c')
-rw-r--r--pthread/pt-initialize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pthread/pt-initialize.c b/pthread/pt-initialize.c
index 9e5404b..c6489f4 100644
--- a/pthread/pt-initialize.c
+++ b/pthread/pt-initialize.c
@@ -28,7 +28,7 @@
DEFINE_HOOK (__pthread_init, (void));
-#if IS_IN (libpthread)
+#ifdef IS_IN_libpthread
static const struct pthread_functions pthread_functions =
{
.ptr_pthread_attr_destroy = __pthread_attr_destroy,
@@ -75,13 +75,13 @@ static const struct pthread_functions pthread_functions =
.ptr__IO_funlockfile = _cthreads_funlockfile,
.ptr__IO_ftrylockfile = _cthreads_ftrylockfile,
};
-#endif /* IS_IN (libpthread) */
+#endif /* IS_IN_libpthread */
/* Initialize the pthreads library. */
void
___pthread_init (void)
{
-#if IS_IN (libpthread)
+#ifdef IS_IN_libpthread
__libc_pthread_init(&pthread_functions);
#endif
RUN_HOOK (__pthread_init, ());