diff options
Diffstat (limited to 'main/boost/boost-uclibc-thread.patch')
-rw-r--r-- | main/boost/boost-uclibc-thread.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/main/boost/boost-uclibc-thread.patch b/main/boost/boost-uclibc-thread.patch new file mode 100644 index 0000000000..e9e6b79e10 --- /dev/null +++ b/main/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; |