Opened 7 years ago

Closed 7 years ago

#11354 closed Patches (duplicate)

On Android thread_data.hpp include file, that doesn't exist in android-21 or higher.

Reported by: altren@… Owned by: Anthony Williams
Milestone: Component: thread
Version: Boost 1.57.0 Severity: Problem
Keywords: Cc:

Description

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

Change History (1)

comment:1 by viboes, 7 years ago

Milestone: To Be Determined
Resolution: duplicate
Status: newclosed

duplicate #11353

Note: See TracTickets for help on using tickets.