summaryrefslogtreecommitdiff
path: root/src/lib/config.h.in
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@ugent.be>2017-08-22 14:57:13 +0200
committerSander Vrijders <sander.vrijders@ugent.be>2017-08-22 14:57:13 +0200
commit911a0ba062f7fd9debfebd330e94ff7de6ac1101 (patch)
tree5e6b9b9172d9087985f4c4b37bd43b9e13e9c4c6 /src/lib/config.h.in
parent5b242e7207483860143d3c84438134430ac1448f (diff)
downloadouroboros-911a0ba062f7fd9debfebd330e94ff7de6ac1101.tar.gz
ouroboros-911a0ba062f7fd9debfebd330e94ff7de6ac1101.zip
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.
Diffstat (limited to 'src/lib/config.h.in')
-rw-r--r--src/lib/config.h.in4
1 files changed, 2 insertions, 2 deletions
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 <features.h>
#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@