From 5e2d55d801632fc8ecaf12840382962cb6480931 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Sun, 19 Apr 2020 16:25:56 -0400 Subject: [PATCH] Revert back to original, as __cdecl is fine with the Embarcadero C++ clang-based compilers. --- include/boost/python/detail/msvc_typeinfo.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/python/detail/msvc_typeinfo.hpp b/include/boost/python/detail/msvc_typeinfo.hpp index 2c5f6e57..bfc84164 100644 --- a/include/boost/python/detail/msvc_typeinfo.hpp +++ b/include/boost/python/detail/msvc_typeinfo.hpp @@ -47,7 +47,7 @@ inline typeinfo typeid_ref(type*, ...) return detail::typeid_ref_1((T(*)())0); } -#if defined(BOOST_MSVC) || (defined(BOOST_BORLANDC) && !defined(BOOST_DISABLE_WIN32)) +#if defined(BOOST_MSVC) || (defined(__BORLANDC__) && !defined(BOOST_DISABLE_WIN32)) # define BOOST_PYTT_DECL __cdecl #else # define BOOST_PYTT_DECL /**/