src/cxx_supportlib/vendor-modified/boost/config/platform/linux.hpp in passenger-5.1.4 vs src/cxx_supportlib/vendor-modified/boost/config/platform/linux.hpp in passenger-5.1.5
- old
+ new
@@ -70,10 +70,10 @@
#endif
// boilerplate code:
#define BOOST_HAS_UNISTD_H
#include <boost/config/posix_features.hpp>
-#ifdef __USE_GNU
+#if defined(__USE_GNU) && !defined(__ANDROID__) && !defined(ANDROID)
#define BOOST_HAS_PTHREAD_YIELD
#endif
#ifndef __GNUC__
//