diff --git a/include/ldap_pvt_thread.h b/include/ldap_pvt_thread.h index f42af3880c39f655b18a07560b09e23fe9950035..7379a9a1bfc9db192762fa5265db5cabd93720f8 100644 --- a/include/ldap_pvt_thread.h +++ b/include/ldap_pvt_thread.h @@ -40,7 +40,7 @@ typedef pthread_condattr_t ldap_pvt_thread_condattr_t; #if defined( _POSIX_REENTRANT_FUNCTIONS ) || \ defined( _POSIX_THREAD_SAFE_FUNCTIONS ) || \ - defined( _POSIX_THREAD_SAFE_FUNCTIONS ) + defined( _POSIX_THREADSAFE_FUNCTIONS ) #define HAVE_REENTRANT_FUNCTIONS 1 #endif diff --git a/include/lthread.h b/include/lthread.h index f22aec429a57bf898896000b4af7a34aa211b49a..b6ba12b3b6c3c2c67c97e4d89c387dee21355391 100644 --- a/include/lthread.h +++ b/include/lthread.h @@ -30,7 +30,7 @@ LDAP_BEGIN_DECL #if defined( _POSIX_REENTRANT_FUNCTIONS ) || \ defined( _POSIX_THREAD_SAFE_FUNCTIONS ) || \ - defined( _POSIX_THREAD_SAFE_FUNCTIONS ) + defined( _POSIX_THREADSAFE_FUNCTIONS ) #define HAVE_REENTRANT_FUNCTIONS 1 #endif