From a67b29a576eaffe4c7336b55a7a31c73ff1941b1 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 2 Jun 2002 05:39:41 +0000 Subject: [PATCH] Flotsam removal; in theory this works around some Sun incompatibility also. See http://mail.python.org/pipermail/c++-sig/2002-May/001193.html [SVN r14066] --- include/boost/python/detail/config.hpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/boost/python/detail/config.hpp b/include/boost/python/detail/config.hpp index 1867b4f3..2a9ec35e 100644 --- a/include/boost/python/detail/config.hpp +++ b/include/boost/python/detail/config.hpp @@ -13,7 +13,6 @@ # define CONFIG_DWA052200_H_ # include -# include # ifdef BOOST_NO_OPERATORS_IN_NAMESPACE // A gcc bug forces some symbols into the global namespace @@ -41,18 +40,6 @@ # endif - -// Work around the broken library implementation/strict ansi checking on some -// EDG-based compilers (e.g. alpha), which incorrectly warn that the result of -// offsetof() is not an integer constant expression. -# if defined(__DECCXX_VER) && __DECCXX_VER <= 60290024 -# define BOOST_OFFSETOF(s_name, s_member) \ - ((size_t)__INTADDR__(&(((s_name *)0)->s_member))) -# else -# define BOOST_OFFSETOF(s_name, s_member) \ - offsetof(s_name, s_member) -# endif - // The STLport puts all of the standard 'C' library names in std (as far as the // user is concerned), but without it you need a fix if you're using MSVC or // Intel C++