Skip to content

Commit

Permalink
Add feature test macro to enable pthread_mutexattr_settype()
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Schuchart <[email protected]>
  • Loading branch information
devreal committed Jul 10, 2024
1 parent 54c6f82 commit 6caed2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opal/mca/threads/pthreads/threads_pthreads_mutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
* available.
*/

// needed for pthread_mutexattr_settype
#define _XOPEN_SOURCE 500

#include "opal_config.h"

#include <errno.h>
Expand Down

0 comments on commit 6caed2a

Please sign in to comment.