forked from boostorg/regex
Always use __cdecl as the calling convention for the Embarcadero C++ clang-based compilers
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
* using a C++ Builder closure as a callback.
|
||||
*/
|
||||
|
||||
#ifdef __BORLANDC__ && !defined(__clang__)
|
||||
#if defined(__BORLANDC__) && !defined(__clang__)
|
||||
|
||||
#include <boost/regex.hpp>
|
||||
#include <string>
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user