sw_ooxmlimport: move export test to sw_ooxmlexport8
[LibreOffice.git] / external / boost / boost-android-unified.patch.1
blob6488bf619e2b2a63cd6f0c48d919617899649f97
1 --- a/boost/type_traits/detail/is_function_cxx_11.hpp
2 +++ b/boost/type_traits/detail/is_function_cxx_11.hpp
3 @@ -18,7 +18,7 @@
4     template <class T>
5     struct is_function : public false_type {};
6  
7 -#if defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM)
8 +#if defined(__cpp_noexcept_function_type) && !defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM) && !(defined __ANDROID__ && defined __clang__ && __clang_major__ == 5 && __clang_minor__ == 0 && __clang_patchlevel__ == 300080)
9  #define BOOST_TT_NOEXCEPT_PARAM , bool NE
10  #define BOOST_TT_NOEXCEPT_DECL noexcept(NE)
11  #else
12 --- a/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp
13 +++ b/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp
14 @@ -31,7 +31,7 @@
15     template <class T>
16     struct is_member_function_pointer<T const volatile> : public is_member_function_pointer<T> {};
18 -#if defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM)
19 +#if defined(BOOST_TT_NO_DEDUCED_NOEXCEPT_PARAM) || (defined __ANDROID__ && defined __clang__ && __clang_major__ == 5 && __clang_minor__ == 0 && __clang_patchlevel__ == 300080)
20     // MSVC can't handle noexcept(b) as a deduced template parameter 
21     // so we will have to write everything out :(
22  #define BOOST_TT_NOEXCEPT_PARAM