- update to boost_1_42_0
This commit is contained in:
Stephan Raue 2010-04-16 23:52:47 +02:00
parent 79bfc9771c
commit 8510ecd735
3 changed files with 1 additions and 22 deletions

View File

@ -1 +0,0 @@
https://svn.boost.org/trac/boost/ticket/2053

View File

@ -1,20 +0,0 @@
--- a/libs/thread/src/pthread/thread.cpp
+++ b/libs/thread/src/pthread/thread.cpp
@@ -388,8 +388,6 @@ namespace boost
{
#if defined(PTW32_VERSION) || defined(__hpux)
return pthread_num_processors_np();
-#elif defined(__linux__)
- return get_nprocs();
#elif defined(__APPLE__) || defined(__FreeBSD__)
int count;
size_t size=sizeof(count);
@@ -397,6 +395,8 @@ namespace boost
#elif defined(BOOST_HAS_UNISTD_H) && defined(_SC_NPROCESSORS_ONLN)
int const count=sysconf(_SC_NPROCESSORS_ONLN);
return (count>0)?count:0;
+#elif defined(__linux__)
+ return get_nprocs();
#else
return 0;
#endif

View File

@ -1 +1 @@
http://switch.dl.sourceforge.net/sourceforge/boost/boost_1_40_0.tar.bz2 http://downloads.sourceforge.net/project/boost/boost/1.42.0/boost_1_42_0.tar.bz2