Emil Velikov wrote:
> On 3 February 2015 at 02:53, Emil Velikov wrote:
> > Hi Felix,
> >
Thanks for the review.
> > On 2 February 2015 at 19:04, Felix Janda wrote:
> >> Previously PTHREAD_MUTEX_RECURSIVE_NP had been used on linux for
> >> compatibi
Previously PTHREAD_MUTEX_RECURSIVE_NP had been used on linux for
compatibility with old glibc. Since mesa defines __GNU_SOURCE__
on linux PTHREAD_MUTEX_RECURSIVE is also available since at least
1998. So we can unconditionally use the portable version
PTHREAD_MUTEX_RECURSIVE.
---
Previous patch did
Previously PTHREAD_MUTEX_RECURSIVE_NP had been used on linux for
compatibility with old glibc. Now fall back to the nonstandard
version only if the standard version is not defined. This makes
mesa compile with musl libc.
---
include/c11/threads_posix.h | 11 +--
1 file changed, 5 insertion
Fixes compilation with musl libc.
Reviewed-by: Ian Romanick
---
Changes in v2: Add comment by Ian Romanick on fpclassify in C99
---
src/mesa/main/querymatrix.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/quer
Fixes compilation with musl libc.
---
src/mesa/main/querymatrix.c | 16 +---
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index eb36c76..57c536f 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/quer