mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
boost:
- update to boost_1_42_0
This commit is contained in:
parent
79bfc9771c
commit
8510ecd735
@ -1 +0,0 @@
|
|||||||
https://svn.boost.org/trac/boost/ticket/2053
|
|
@ -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
|
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user