summaryrefslogtreecommitdiff
path: root/thirdparty/vhacd/inc/vhacdMutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/vhacd/inc/vhacdMutex.h')
-rw-r--r--thirdparty/vhacd/inc/vhacdMutex.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/thirdparty/vhacd/inc/vhacdMutex.h b/thirdparty/vhacd/inc/vhacdMutex.h
index 6b09259200..d587dd6387 100644
--- a/thirdparty/vhacd/inc/vhacdMutex.h
+++ b/thirdparty/vhacd/inc/vhacdMutex.h
@@ -71,7 +71,9 @@
#include <pthread.h>
#endif
-#if defined(__APPLE__)
+// -- GODOT start --
+#if defined(__APPLE__) || !defined(__GLIBC__)
+// -- GODOT end --
#define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
#endif