Always use __cdecl as the calling convention for the Embarcadero C++ clang-based compilers

This commit is contained in:
Edward Diener
2020-04-19 15:29:03 -04:00
parent cc09733d03
commit 31646aefa7
2 changed files with 7 additions and 2 deletions

View File

@ -278,10 +278,15 @@
# define BOOST_REGEX_CCALL __cdecl
#endif
#if defined(__BORLANDC__) && !defined(__clang__) && !defined(BOOST_DISABLE_WIN32)
#if defined(__BORLANDC__) && !defined(BOOST_DISABLE_WIN32)
#if defined(__clang__)
# define BOOST_REGEX_CALL __cdecl
# define BOOST_REGEX_CCALL __cdecl
#else
# define BOOST_REGEX_CALL __fastcall
# define BOOST_REGEX_CCALL __stdcall
#endif
#endif
#ifndef BOOST_REGEX_CALL
# define BOOST_REGEX_CALL