Presence of pthread_yield is dependent on __USE_GNU.

This commit is contained in:
jzmaddock
2014-10-20 12:53:40 +01:00
parent 52882f7327
commit ec1f5273be

View File

@ -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__
//