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 <joseph.schuchart@stonybrook.edu>
  • Loading branch information
devreal committed Jul 10, 2024
1 parent d150386 commit c6ba95b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 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,11 @@
* available.
*/

// needed for pthread_mutexattr_settype
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif

#include "opal_config.h"

#include <errno.h>
Expand Down

0 comments on commit c6ba95b

Please sign in to comment.