Closed ilyakurdyukov closed 1 year ago
This: https://github.com/boostorg/context/blob/6fa6d5c50d120e69b2d8a1c0d2256ee933e94b3b/include/boost/context/fiber_ucontext.hpp#L70
The same in continuation_ucontext.hpp, three such lines in both sources.
continuation_ucontext.hpp
Conflicts with "boost/predef/macos.h":
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER_NOT_AVAILABLE
All #ifdef BOOST_OS_MACOS needs to be changed to #if BOOST_OS_MACOS, otherwise the code for macOS is used for any OS!
#ifdef BOOST_OS_MACOS
#if BOOST_OS_MACOS
@eduardvoronkin, your commit https://github.com/boostorg/context/commit/cc106be672f54b71842aa6322fe45bf60ed1d3cc introduced this issue.
should be fixed by #236
This: https://github.com/boostorg/context/blob/6fa6d5c50d120e69b2d8a1c0d2256ee933e94b3b/include/boost/context/fiber_ucontext.hpp#L70
The same in
continuation_ucontext.hpp
, three such lines in both sources.Conflicts with "boost/predef/macos.h":
All
#ifdef BOOST_OS_MACOS
needs to be changed to#if BOOST_OS_MACOS
, otherwise the code for macOS is used for any OS!