changed MSVC calling convention setup - can't use __fastcall in debug mode especially with /RTC

[SVN r19190]
This commit is contained in:
John Maddock
2003-07-18 11:25:34 +00:00
parent ff80be2019
commit 0f2f6b6dfc

View File

@ -232,8 +232,12 @@ using std::distance;
* *
****************************************************************************/ ****************************************************************************/
#if defined(_MSC_VER) && (_MSC_VER >= 1200) && defined(_MSC_EXTENSIONS) #if defined(BOOST_MSVC) && (BOOST_MSVC >= 1200) && defined(_MSC_EXTENSIONS)
#if defined(_DEBUG) || defined(__MSVC_RUNTIME_CHECKS)
# define BOOST_REGEX_CALL __cdecl
#else
# define BOOST_REGEX_CALL __fastcall # define BOOST_REGEX_CALL __fastcall
#endif
# define BOOST_REGEX_CCALL __cdecl # define BOOST_REGEX_CCALL __cdecl
#endif #endif