From 6f0b083a51ebf73eee2d5e303b7adbc0dd7b9e08 Mon Sep 17 00:00:00 2001 From: "Ralf W. Grosse-Kunstleve" Date: Wed, 19 Mar 2003 07:04:07 +0000 Subject: [PATCH] restore Codewarrior builds [SVN r17998] --- include/boost/python/detail/config.hpp | 2 ++ include/boost/python/detail/wrap_python.hpp | 4 +++- include/boost/python/has_back_reference.hpp | 4 +++- include/boost/python/object_core.hpp | 2 ++ include/boost/python/ptr.hpp | 2 ++ 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/include/boost/python/detail/config.hpp b/include/boost/python/detail/config.hpp index d6f0a737..7997783c 100644 --- a/include/boost/python/detail/config.hpp +++ b/include/boost/python/detail/config.hpp @@ -12,7 +12,9 @@ #ifndef CONFIG_DWA052200_H_ # define CONFIG_DWA052200_H_ +#if !(defined(_WIN32) && defined(__MWERKS__)) # include +#endif # include # ifdef BOOST_NO_OPERATORS_IN_NAMESPACE diff --git a/include/boost/python/detail/wrap_python.hpp b/include/boost/python/detail/wrap_python.hpp index 82d85fde..79998311 100644 --- a/include/boost/python/detail/wrap_python.hpp +++ b/include/boost/python/detail/wrap_python.hpp @@ -24,7 +24,9 @@ // Python's LongObject.h helpfully #defines ULONGLONG_MAX for us, // which confuses Boost's config // -#include +#if !(defined(_WIN32) && defined(__MWERKS__)) +# include +#endif #include #ifndef ULONG_MAX # define BOOST_PYTHON_ULONG_MAX_UNDEFINED diff --git a/include/boost/python/has_back_reference.hpp b/include/boost/python/has_back_reference.hpp index b40ef29c..8954dd91 100644 --- a/include/boost/python/has_back_reference.hpp +++ b/include/boost/python/has_back_reference.hpp @@ -6,7 +6,9 @@ #ifndef HAS_BACK_REFERENCE_DWA2002323_HPP # define HAS_BACK_REFERENCE_DWA2002323_HPP -#include +#if !(defined(_WIN32) && defined(__MWERKS__)) +# include +#endif #include namespace boost { namespace python { diff --git a/include/boost/python/object_core.hpp b/include/boost/python/object_core.hpp index 8a4ead32..68b3e691 100755 --- a/include/boost/python/object_core.hpp +++ b/include/boost/python/object_core.hpp @@ -6,7 +6,9 @@ #ifndef OBJECT_CORE_DWA2002615_HPP # define OBJECT_CORE_DWA2002615_HPP +#if !(defined(_WIN32) && defined(__MWERKS__)) # include +#endif # include # include diff --git a/include/boost/python/ptr.hpp b/include/boost/python/ptr.hpp index fbdacb1d..d80c55ac 100644 --- a/include/boost/python/ptr.hpp +++ b/include/boost/python/ptr.hpp @@ -14,7 +14,9 @@ # pragma once # endif +#if !(defined(_WIN32) && defined(__MWERKS__)) # include +#endif # include # include