Subject: [Boost-bugs] [Boost C++ Libraries] #11354: On Android thread_data.hpp include file, that doesn't exist in android-21 or higher.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-05-27 16:05:31
#11354: On Android thread_data.hpp include file, that doesn't exist in android-21
or higher.
------------------------------+----------------------
Reporter: altren@⦠| Owner: anthonyw
Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.57.0 | Severity: Problem
Keywords: |
------------------------------+----------------------
Android ndk starting from 21 doesn't provide page.h file and it is not
needed for successful compilation, in file thread/pthread/thread_data.hpp
line 27 next code
{{{
#if defined(__ANDROID__)
#include <asm/page.h> //
http://code.google.com/p/android/issues/detail?id=39983
#endif
}}}
should be replaced with
{{{
#if defined(__ANDROID__) && (__ANDROID_API__ <= 20)
#include <asm/page.h> //
http://code.google.com/p/android/issues/detail?id=39983
#endif
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11354> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC