summaryrefslogtreecommitdiff
path: root/recipes/boost/files/1.41.0_uclibc.patch
blob: 21d12da095a5c3a63e059ab1f64c5587f77849de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: boost-1.41.0.cmake0/libs/thread/src/pthread/thread.cpp
===================================================================
--- boost-1.41.0.cmake0.orig/libs/thread/src/pthread/thread.cpp
+++ boost-1.41.0.cmake0/libs/thread/src/pthread/thread.cpp
@@ -380,7 +380,7 @@ namespace boost
     {
 #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;