Opened 7 years ago

Closed 7 years ago

#11353 closed Patches (fixed)

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

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

Description

thread/pthread/thread_data.hpp line 27

#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

because this file doesn't exist in android ndk distribution any more and not required for successful compilation.

Change History (3)

comment:1 by viboes, 7 years ago

Thanks for the info. This is what happens when we start to support a platform that we can not test ;-)

comment:2 by viboes, 7 years ago

Owner: changed from Anthony Williams to viboes
Status: newassigned

comment:3 by viboes, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0
Resolution: fixed
Status: assignedclosed

This has already been changed on develop branch by

#if defined(__ANDROID__)
# ifndef PAGE_SIZE
#  define PAGE_SIZE 4096
# endif
#endif
Note: See TracTickets for help on using tickets.