diff options
author | Sander Vrijders <[email protected]> | 2017-08-22 14:57:13 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-22 14:57:13 +0200 |
commit | 911a0ba062f7fd9debfebd330e94ff7de6ac1101 (patch) | |
tree | 5e6b9b9172d9087985f4c4b37bd43b9e13e9c4c6 /src/lib | |
parent | 5b242e7207483860143d3c84438134430ac1448f (diff) | |
download | ouroboros-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')
-rw-r--r-- | src/lib/config.h.in | 4 |
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@ |