diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-16 19:52:45 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-16 19:52:45 +0100 |
commit | aaa312e56871e89b97704e5ac8c686fe7966c122 (patch) | |
tree | 63f6a6c3e89152025de942a0e68153a5cb868ecb /package/MesaLib/patches/patch-include_c11_threads_posix_h | |
parent | 9d097a780c0ffe2c9dbe146046d5b68123c47708 (diff) | |
parent | b1e843d40eea9bc684436f4635018b7c19eb93ea (diff) |
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Conflicts:
TODO
Diffstat (limited to 'package/MesaLib/patches/patch-include_c11_threads_posix_h')
-rw-r--r-- | package/MesaLib/patches/patch-include_c11_threads_posix_h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/MesaLib/patches/patch-include_c11_threads_posix_h b/package/MesaLib/patches/patch-include_c11_threads_posix_h new file mode 100644 index 000000000..2e79238f7 --- /dev/null +++ b/package/MesaLib/patches/patch-include_c11_threads_posix_h @@ -0,0 +1,11 @@ +--- Mesa-10.1.0.orig/include/c11/threads_posix.h 2014-02-27 02:56:39.000000000 +0100 ++++ Mesa-10.1.0/include/c11/threads_posix.h 2014-03-14 21:54:55.000000000 +0100 +@@ -176,7 +176,7 @@ mtx_init(mtx_t *mtx, int type) + return thrd_error; + pthread_mutexattr_init(&attr); + if ((type & mtx_recursive) != 0) { +-#if defined(__linux__) || defined(__linux) ++#if defined(__GLIBC__) + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); + #else + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); |