[Mesa-dev] [Bug 88534] include/c11/threads_posix.h PTHREAD_MUTEX_RECURSIVE_NP not defined
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 17 06:24:48 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=88534
Bug ID: 88534
Summary: include/c11/threads_posix.h PTHREAD_MUTEX_RECURSIVE_NP
not defined
Product: Mesa
Version: git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: felix.janda at posteo.de
Created attachment 112394
--> https://bugs.freedesktop.org/attachment.cgi?id=112394&action=edit
Proposed patch
The non-portable version of PTHREAD_MUTEX_RECURSIVE is used since older glibc
didn't have the POSIX version. The attached patch makes the code only fall back
to PTHREAD_MUTEX_RECURSIVE_NP if PTHREAD_MUTEX_RECURSIVE is not defined. This
fixes compilation with other libcs such as musl, which don't have the
nonstandard version.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150117/3d7a5cd3/attachment.html>
More information about the mesa-dev
mailing list