aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/boost-uclibc-thread.patch
blob: e9e6b79e10745b9cb887f9229d33224e09ee6a00 (plain)
1
2
3
4
5
6
7
8
9
10
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;