forked from boostorg/smart_ptr
Merge branch 'aix_fix' of https://github.com/ibmsoe/smart_ptr into develop
This commit is contained in:
@@ -98,7 +98,13 @@ inline void yield( unsigned k )
|
|||||||
|
|
||||||
#elif defined( BOOST_HAS_PTHREADS )
|
#elif defined( BOOST_HAS_PTHREADS )
|
||||||
|
|
||||||
|
#ifndef _AIX
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
#else
|
||||||
|
// AIX's sched.h defines ::var which sometimes conflicts with Lambda's var
|
||||||
|
extern "C" int sched_yield(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
|
Reference in New Issue
Block a user