mirror of
https://github.com/Relintai/osxcross.git
synced 2025-02-03 22:45:56 +01:00
e34da881ff
- Machine -> Arch - 'osxcross-conf': add missing OSXCROSS_VERSION - error out on invald '-stdlib=' value - add 'osxcross' util which can be used to check for an OSXCross installation - fix 'libLTO.so: cannot open shared object file' - listFiles(): windows implementation - cleanup get_dependencies.sh: - debian: add --force-yes add a patch to support some older linux dists (such as debian squeeze)
14 lines
361 B
Diff
14 lines
361 B
Diff
--- cctools/libobjc2/lock.h
|
|
+++ cctools/libobjc2/lock.h
|
|
@@ -36,6 +36,10 @@
|
|
#if 1
|
|
# define INIT_LOCK(x) init_recursive_mutex(&(x))
|
|
|
|
+#ifdef __linux__
|
|
+# define PTHREAD_MUTEX_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
|
|
+#endif /* __linux__ */
|
|
+
|
|
static inline void init_recursive_mutex(pthread_mutex_t *x)
|
|
{
|
|
pthread_mutexattr_t recursiveAttributes;
|