Subject: [boost] [Context] Compile Broken for MSVC under x64 (r77477 Trunk)
From: Joshua Boyce (raptorfactor_at_[hidden])
Date: 2012-03-22 21:02:09
r77477 has broken compilation of Boost.Context on trunk for me when using
MSVC and targeting x64 (it spits out a "platform not supported" error).
I believe this is because MSVC does not define any of the preprocessor
directives that are being checked now (instead of _WIN64).
I believe the fix for this is to check _M_AMD64 and/or _M_X64.
_M_X64: Defined for x64 processors.
_M_AMD64: Defined for x64 processors.
This patch fixes the issue for me:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk