Opened 10 years ago

Closed 10 years ago

#7514 closed Patches (fixed)

Fix Boost.Test compilation for Android before API-level 8

Reported by: Jan Hudec <bulb@…> Owned by: Gennadiy Rozental
Milestone: To Be Determined Component: test
Version: Boost 1.52.0 Severity: Problem
Keywords: Cc:

Description

Android before API-level 8 only defines part of sigaltstack. It defines the structure, but not the function. Attached patch checks for __ANDROID__ define, if it is defines pulls in a (short) header specifying android API level and if it's less than 8, defines the BOOST_TEST_USE_ALT_STACK (like it's done for cygwin and qnx).

Attachments (1)

boost.test.android-alt-stack.patch (464 bytes ) - added by Jan Hudec <bulb@…> 10 years ago.
Patch (-p1, non-tortoise) for disabling use of sigaltstack in Android < 8.

Download all attachments as: .zip

Change History (3)

by Jan Hudec <bulb@…>, 10 years ago

Patch (-p1, non-tortoise) for disabling use of sigaltstack in Android < 8.

comment:1 by Jan Hudec <bulb@…>, 10 years ago

Type: BugsPatches

comment:2 by Gennadiy Rozental, 10 years ago

Resolution: fixed
Status: newclosed

(In [81182]) fix for Android; Fixes #7514

Note: See TracTickets for help on using tickets.