From 911a0ba062f7fd9debfebd330e94ff7de6ac1101 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 22 Aug 2017 14:57:13 +0200 Subject: lib: Fix check for robust mutexes There was an else clause matched with the wrong if statement, resulting in robust mutexes being enabled even in glibc 2.25. --- src/lib/config.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/config.h.in b/src/lib/config.h.in index c4b189d7..e9c43389 100644 --- a/src/lib/config.h.in +++ b/src/lib/config.h.in @@ -40,9 +40,9 @@ #include #if !defined(__GLIBC__) || !(__GLIBC__ == 2 && __GLIBC_MINOR__ == 25) #cmakedefine HAVE_ROBUST_MUTEX - #else - #cmakedefine HAVE_ROBUST_MUTEX #endif +#else +#cmakedefine HAVE_ROBUST_MUTEX #endif #define PTHREAD_COND_CLOCK @PTHREAD_COND_CLOCK@ -- cgit v1.2.3