Ticket #7514: boost.test.android-alt-stack.patch

File 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.

  • boost/test/impl/execution_monitor.ipp

    a b namespace { void _set_se_translator( void* ) {} }  
    173173#    endif
    174174#  endif
    175175
    176 #  if !defined(__CYGWIN__) && !defined(__QNXNTO__)
     176#  if defined(__ANDROID__)
     177#   include <android/api-level.h>
     178#  endif
     179
     180#  if !defined(__CYGWIN__) && !defined(__QNXNTO__) && (!defined(__ANDROID__) || __ANDROID_API__ >= 8)
    177181#   define BOOST_TEST_USE_ALT_STACK
    178182#  endif
    179183