aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/boost/files/uclibc.patch
blob: 738b8b947dfe60c51c68523359735a2bbc237e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: boost-1.40.0.cmake2/libs/thread/src/pthread/thread.cpp
===================================================================
--- boost-1.40.0.cmake2.orig/libs/thread/src/pthread/thread.cpp	2009-11-03 21:33:21.392444361 +0100
+++ boost-1.40.0.cmake2/libs/thread/src/pthread/thread.cpp	2009-11-03 21:36:04.748684550 +0100
@@ -390,7 +390,7 @@
     {
 #if defined(PTW32_VERSION) || defined(__hpux)
         return pthread_num_processors_np();
-#elif defined(__linux__)
+#elif defined(__linux__) && !defined(__UCLIBC__)
         return get_nprocs();
 #elif defined(__APPLE__) || defined(__FreeBSD__)
         int count;