diff options
Diffstat (limited to 'testing/boost/boost-uclibc-thread.patch')
-rw-r--r-- | testing/boost/boost-uclibc-thread.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/boost/boost-uclibc-thread.patch b/testing/boost/boost-uclibc-thread.patch new file mode 100644 index 000000000..e9e6b79e1 --- /dev/null +++ b/testing/boost/boost-uclibc-thread.patch @@ -0,0 +1,11 @@ +--- ./libs/thread/src/pthread/thread.cpp.orig ++++ ./libs/thread/src/pthread/thread.cpp +@@ -380,7 +380,7 @@ + { + #if defined(PTW32_VERSION) || defined(__hpux) + return pthread_num_processors_np(); +-#elif defined(_GNU_SOURCE) ++#elif defined(_GNU_SOURCE) && !defined(__UCLIBC__) + return get_nprocs(); + #elif defined(__APPLE__) || defined(__FreeBSD__) + int count; |