  #if defined(BOOST_LOG_LWRWMUTEX_USE_SRWLOCK)
  
 diff --git a/libs/system/src/error_code.cpp b/libs/system/src/error_code.cpp
-index 5e00588..73cf8a2 100644
+index 5e00588..6545e8d 100644
 --- a/libs/system/src/error_code.cpp
 +++ b/libs/system/src/error_code.cpp
 @@ -101,7 +101,7 @@ namespace

       // Oddball version of strerror_r
       const char * c_str = strerror_r( ev, bp, sz );
       return  c_str
diff --git a/tools/build/v2/tools/gcc.jam b/tools/build/v2/tools/gcc.jam
index ef90f05..da042de 100644
--- a/tools/build/v2/tools/gcc.jam

+// boilerplate code:
+#define BOOST_HAS_UNISTD_H
+#include <boost/config/posix_features.hpp>
+#ifdef _NEWLIB_VERSION
+  #define BOOST_HAS_SCHED_YIELD
+  #define BOOST_HAS_PTHREADS
+#endif
+
+#ifndef __GNUC__
+//
