forked from boostorg/config
Presence of pthread_yield is dependent on __USE_GNU.
This commit is contained in:
@ -72,7 +72,9 @@
|
||||
// boilerplate code:
|
||||
#define BOOST_HAS_UNISTD_H
|
||||
#include <boost/config/posix_features.hpp>
|
||||
#ifdef __USE_GNU
|
||||
#define BOOST_HAS_PTHREAD_YIELD
|
||||
#endif
|
||||
|
||||
#ifndef __GNUC__
|
||||
//
|
||||
|
Reference in New Issue
Block a user