From 733e24c0814905e0bb85e3d552e9b99cca8a9a26 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sat, 26 Mar 2016 18:20:19 +0000 Subject: [PATCH] Minor workaround for clang-win32. --- test/boost_no_ret_det.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/boost_no_ret_det.ipp b/test/boost_no_ret_det.ipp index 253e4584..e57c9ed7 100644 --- a/test/boost_no_ret_det.ipp +++ b/test/boost_no_ret_det.ipp @@ -12,7 +12,7 @@ // compilers insist on it, while other issue a // bunch of warnings if it is in fact present. -#if defined( BOOST_NO_EXCEPTIONS ) && !defined( _MSC_VER ) +#if defined( BOOST_NO_EXCEPTIONS ) # include #endif @@ -20,7 +20,7 @@ namespace boost_no_unreachable_return_detection{ int checker() { -#if defined( BOOST_NO_EXCEPTIONS ) && !defined( _MSC_VER ) +#if defined( BOOST_NO_EXCEPTIONS ) && (!defined( _MSC_VER ) || defined(__clang__)) abort(); #else throw 0;