diff --git a/include/boost/python/detail/config.hpp b/include/boost/python/detail/config.hpp index 7997783c..7377fb2d 100644 --- a/include/boost/python/detail/config.hpp +++ b/include/boost/python/detail/config.hpp @@ -12,7 +12,7 @@ #ifndef CONFIG_DWA052200_H_ # define CONFIG_DWA052200_H_ -#if !(defined(_WIN32) && defined(__MWERKS__)) +#if defined(__ALPHA) && defined(__osf__) && defined(__DECCXX_VER) # include #endif # include diff --git a/include/boost/python/detail/wrap_python.hpp b/include/boost/python/detail/wrap_python.hpp index 79998311..c94626f8 100644 --- a/include/boost/python/detail/wrap_python.hpp +++ b/include/boost/python/detail/wrap_python.hpp @@ -24,7 +24,7 @@ // Python's LongObject.h helpfully #defines ULONGLONG_MAX for us, // which confuses Boost's config // -#if !(defined(_WIN32) && defined(__MWERKS__)) +#if defined(__ALPHA) && defined(__osf__) && defined(__DECCXX_VER) # include #endif #include diff --git a/include/boost/python/has_back_reference.hpp b/include/boost/python/has_back_reference.hpp index 8954dd91..63313e79 100644 --- a/include/boost/python/has_back_reference.hpp +++ b/include/boost/python/has_back_reference.hpp @@ -6,7 +6,7 @@ #ifndef HAS_BACK_REFERENCE_DWA2002323_HPP # define HAS_BACK_REFERENCE_DWA2002323_HPP -#if !(defined(_WIN32) && defined(__MWERKS__)) +#if defined(__ALPHA) && defined(__osf__) && defined(__DECCXX_VER) # include #endif #include diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index 68b3e691..8b924622 100755 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -6,7 +6,7 @@ #ifndef OBJECT_CORE_DWA2002615_HPP # define OBJECT_CORE_DWA2002615_HPP -#if !(defined(_WIN32) && defined(__MWERKS__)) +#if defined(__ALPHA) && defined(__osf__) && defined(__DECCXX_VER) # include #endif # include diff --git a/include/boost/python/ptr.hpp b/include/boost/python/ptr.hpp index d80c55ac..4deac448 100644 --- a/include/boost/python/ptr.hpp +++ b/include/boost/python/ptr.hpp @@ -14,7 +14,7 @@ # pragma once # endif -#if !(defined(_WIN32) && defined(__MWERKS__)) +#if defined(__ALPHA) && defined(__osf__) && defined(__DECCXX_VER) # include #endif # include