From 44ae774bed1a75ea926590f1bc7c9f3328219832 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 12 Feb 2015 23:30:10 +0100 Subject: Stop using IS_IN * pthread/pt-create.c: Use IS_IN (libpthread) instead of IS_IN_libpthread * pthread/pt-initialize.c: Likewise. * pthread/pt-internal.h: Likewise. --- pthread/pt-initialize.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pthread/pt-initialize.c') diff --git a/pthread/pt-initialize.c b/pthread/pt-initialize.c index 831a63d..fc4e137 100644 --- a/pthread/pt-initialize.c +++ b/pthread/pt-initialize.c @@ -28,7 +28,7 @@ DEFINE_HOOK (__pthread_init, (void)); -#ifdef IS_IN_libpthread +#if IS_IN (libpthread) static const struct pthread_functions pthread_functions = { .ptr_pthread_attr_destroy = __pthread_attr_destroy, @@ -65,13 +65,13 @@ static const struct pthread_functions pthread_functions = .ptr_pthread_setcanceltype = __pthread_setcanceltype, .ptr___pthread_get_cleanup_stack = __pthread_get_cleanup_stack, }; -#endif /* IS_IN_libpthread */ +#endif /* IS_IN (libpthread) */ /* Initialize the pthreads library. */ void __pthread_init (void) { -#ifdef IS_IN_libpthread +#if IS_IN (libpthread) __libc_pthread_init(&pthread_functions); #endif RUN_HOOK (__pthread_init, ()); -- cgit v1.2.3