mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
adjusted #ifdef's for Compaq C++ V6.5-040 for Compaq Tru64 UNIX
[SVN r22636]
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
# define BOOST_PYTHON_EXPORT_CLASS_TEMPLATE(instantiation) struct ThIsTyPeNeVeRuSeD
|
||||
#endif
|
||||
|
||||
#if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031)
|
||||
#if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590040)
|
||||
// Replace broken Tru64/cxx offsetof macro
|
||||
# define BOOST_PYTHON_OFFSETOF(s_name, s_member) \
|
||||
((size_t)__INTADDR__(&(((s_name *)0)->s_member)))
|
||||
|
||||
@@ -26,7 +26,7 @@ struct is_string_literal<char const[n]> : mpl::true_
|
||||
{
|
||||
};
|
||||
|
||||
# if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590031) \
|
||||
# if (defined(__DECCXX_VER) && __DECCXX_VER <= 60590040) \
|
||||
|| (defined(__sgi) && defined(_COMPILER_VERSION) && _COMPILER_VERSION <= 730)
|
||||
// This compiler mistakenly gets the type of string literals as char*
|
||||
// instead of char[NN].
|
||||
|
||||
Reference in New Issue
Block a user