Home | History | Annotate | Download | only in patches.android
      1 From aaf1a9878e5d43da954ed91e91c9db3c37f80460 Mon Sep 17 00:00:00 2001
      2 From: David 'Digit' Turner <digit (a] google.com>
      3 Date: Thu, 2 May 2013 14:10:19 +0200
      4 Subject: Support building with GCC 4.6
      5 
      6 ---
      7  include/__config | 8 ++++++++
      8  1 file changed, 8 insertions(+)
      9 
     10 diff --git a/include/__config b/include/__config
     11 index ca850d3..2223a08 100644
     12 --- a/include/__config
     13 +++ b/include/__config
     14 @@ -370,6 +370,10 @@ namespace std {
     15  #define _LIBCPP_HAS_NO_STATIC_ASSERT
     16  #endif
     17  
     18 +#if _GNUC_VER < 407
     19 +#define _LIBCPP_HAS_NO_DEFAULTED_FUNCTIONS
     20 +#endif
     21 +
     22  #if _GNUC_VER < 404
     23  #define _LIBCPP_HAS_NO_ADVANCED_SFINAE
     24  #define _LIBCPP_HAS_NO_DECLTYPE
     25 @@ -386,6 +390,10 @@ namespace std {
     26  
     27  #endif  // __GXX_EXPERIMENTAL_CXX0X__
     28  
     29 +#if _GNUC_VER > 403
     30 +#define _LIBCP_HAS_IS_BASE_OF
     31 +#endif
     32 +
     33  #define _LIBCPP_BEGIN_NAMESPACE_STD namespace std { namespace _LIBCPP_NAMESPACE {
     34  #define _LIBCPP_END_NAMESPACE_STD  } }
     35  #define _VSTD std::_LIBCPP_NAMESPACE
     36 -- 
     37 1.7.12.146.g16d26b1
     38 
     39