0003-fix-musl-build.patch 432 B

12345678910111213141516
  1. diff --git a/thirdparty/vhacd/inc/vhacdMutex.h b/thirdparty/vhacd/inc/vhacdMutex.h
  2. index 6b09259200..d587dd6387 100644
  3. --- a/thirdparty/vhacd/inc/vhacdMutex.h
  4. +++ b/thirdparty/vhacd/inc/vhacdMutex.h
  5. @@ -71,7 +71,9 @@
  6. #include <pthread.h>
  7. #endif
  8. -#if defined(__APPLE__)
  9. +// -- GODOT start --
  10. +#if defined(__APPLE__) || !defined(__GLIBC__)
  11. +// -- GODOT end --
  12. #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
  13. #endif