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 d150386 commit 8714b5e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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,10 @@
* available.
*/

// needed for pthread_mutexattr_settype
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L

#include "opal_config.h"

#include <errno.h>
Expand Down

0 comments on commit 8714b5e

Please sign in to comment.