We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b207fc1 + 9742c30 commit e8d7bb5Copy full SHA for e8d7bb5
1 file changed
include/boost/python/detail/msvc_typeinfo.hpp
@@ -7,7 +7,6 @@
7
8
#include <typeinfo>
9
#include <boost/type.hpp>
10
-#include <boost/type_traits/config.hpp>
11
12
//
13
// Fix for icc's broken typeid() implementation which doesn't strip
@@ -48,8 +47,14 @@ inline typeinfo typeid_ref(type<T>*, ...)
48
47
return detail::typeid_ref_1((T(*)())0);
49
}
50
+#if defined(BOOST_MSVC) || (defined(__BORLANDC__) && !defined(BOOST_DISABLE_WIN32))
51
+# define BOOST_PYTT_DECL __cdecl
52
+#else
53
+# define BOOST_PYTT_DECL /**/
54
+#endif
55
+
56
template< typename T > T&(* is_ref_tester1(type<T>) )(type<T>) { return 0; }
-inline char BOOST_TT_DECL is_ref_tester1(...) { return 0; }
57
+inline char BOOST_PYTT_DECL is_ref_tester1(...) { return 0; }
58
59
template <class T>
60
inline typeinfo msvc_typeid(boost::type<T>*)
0 commit comments