mirror of
https://github.com/boostorg/regex.git
synced 2025-07-16 05:42:15 +02:00
changed MSVC calling convention setup - can't use __fastcall in debug mode especially with /RTC
[SVN r19190]
This commit is contained in:
@ -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
|
||||
#endif
|
||||
# define BOOST_REGEX_CCALL __cdecl
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user