boostorg / context

307 stars 150 forks source link

Fix check for BOOST_OS_MACOS #236

Closed iv-m closed 1 year ago

iv-m commented 1 year ago

BOOST_OS_MACOS is always defined; when we're not compiling for Mac OS, it's just defined as zero. So, the correct check is #if BOOST_OS_MACOS, because #ifdef BOOST_OS_MACOS is true on any operating system.

Fixes: cc106be672f54b71842aa6322fe45bf60ed1d3cc Reported-by: Ilya Kurdyukov ilyakurdyukov@altlinux.org

olk commented 1 year ago

ty