2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-26 06:42:27 +00:00

use BOOST_WORKAROUND

[SVN r22640]
This commit is contained in:
Ralf W. Grosse-Kunstleve
2004-04-15 16:24:03 +00:00
parent 4df59a752a
commit e766286d92

View File

@@ -11,6 +11,7 @@
# include <boost/type_traits/array_traits.hpp>
# include <boost/type_traits/same_traits.hpp>
# include <boost/mpl/bool.hpp>
# include <boost/detail/workaround.hpp>
namespace boost { namespace python { namespace detail {
@@ -26,7 +27,7 @@ struct is_string_literal<char const[n]> : mpl::true_
{
};
# if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590040) \
# if BOOST_WORKAROUND(__DECCXX_VER, BOOST_TESTED_AT(60590040)) \
|| (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
// This compiler mistakenly gets the type of string literals as char*
// instead of char[NN].