From 6004a35e23142ac5a4cd6d266de57d30f7de3cab Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 24 Mar 2002 17:22:32 +0000 Subject: [PATCH] bug fix [SVN r13263] --- test/select_holder.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/select_holder.cpp b/test/select_holder.cpp index 869ac92a..f6b22baa 100644 --- a/test/select_holder.cpp +++ b/test/select_holder.cpp @@ -68,8 +68,11 @@ int test_main(int, char * []) return 0; } -// This definition is needed for MinGW 2.95.2 and KCC on OSF for some reason +#if !defined(_WIN32) || defined(__GNUC__) +// This definition is needed for MinGW 2.95.2 and KCC on OSF for some +// reason, but will break other Win32 compilers. namespace boost { namespace python { - bool BOOST_PYTHON_DECL handle_exception_impl(boost::function0) { return false; } + bool handle_exception_impl(boost::function0) { return false; } }} +#endif