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@lists.freedesktop.org
          Reporter: felix.ja...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to