summaryrefslogtreecommitdiff
path: root/biology/subread/files/patch-subread.h
diff options
context:
space:
mode:
Diffstat (limited to 'biology/subread/files/patch-subread.h')
-rw-r--r--biology/subread/files/patch-subread.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/biology/subread/files/patch-subread.h b/biology/subread/files/patch-subread.h
new file mode 100644
index 000000000000..3916daa6835f
--- /dev/null
+++ b/biology/subread/files/patch-subread.h
@@ -0,0 +1,11 @@
+--- subread.h.orig 2018-11-08 14:46:06 UTC
++++ subread.h
+@@ -102,7 +102,7 @@
+
+ #define USE_POSIX_MUTEX_LOCK
+
+-#if defined(MACOS) || defined(FREEBSD) || defined(USE_POSIX_MUTEX_LOCK)
++#if defined(__APPLE__) || defined(__FreeBSD__) || defined(USE_POSIX_MUTEX_LOCK)
+ typedef pthread_mutex_t subread_lock_t;
+ #define pthread_spinlock_t pthread_mutex_t
+ #define pthread_spin_lock pthread_mutex_lock