diff options
Diffstat (limited to 'lib/replace/system/threads.h')
-rw-r--r-- | lib/replace/system/threads.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/replace/system/threads.h b/lib/replace/system/threads.h index 3d89bb2e98..3aca088c13 100644 --- a/lib/replace/system/threads.h +++ b/lib/replace/system/threads.h @@ -32,4 +32,9 @@ #define pthread_mutexattr_setrobust pthread_mutexattr_setrobust_np #endif +#if defined(HAVE_PTHREAD_MUTEX_CONSISTENT_NP) && \ + !defined(HAVE_PTHREAD_MUTEX_CONSISTENT) +#define pthread_mutex_consistent pthread_mutex_consistent_np +#endif + #endif |