summaryrefslogtreecommitdiff
path: root/configh.in
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-07-21 12:12:26 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-07-21 12:16:20 +0200
commitc6eccf6137fae2c2f158af6bdc393d70d832b9e9 (patch)
tree2e63401119d1f9804d407bf6205e4de9305a45f6 /configh.in
parent15f1b6b5c4783695769d3342b85b26b3e7bd29bd (diff)
Call pthread's recursive mutex on Linux (Issue #245)
Add CMake test for PTHREAD_MUTEX_RECURSIVE Add autoconf/configure compile test for PTHREAD_MUTEX_RECURSIVE Replace "#ifdef PTHREAD_MUTEX_RECURSIVE" with "#ifdef HAVE_PTHREAD_MUTEX_RECURSIVE" and define HAVE_PTHREAD_MUTEX_RECURSIVE in config.h
Diffstat (limited to 'configh.in')
-rw-r--r--configh.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configh.in b/configh.in
index 46121b2ea..8dc34486b 100644
--- a/configh.in
+++ b/configh.in
@@ -345,6 +345,12 @@
#undef HAVE_PTHREAD_H
/*
+ * Do we have PTHREAD_MUTEX_RECURSIVE?
+ */
+
+#undef HAVE_PTHREAD_MUTEX_RECURSIVE
+
+/*
* Do we have the ALSA library?
*/