diff options
Diffstat (limited to '3rdParty/Boost/src/boost/regex/v4/instances.hpp')
| -rw-r--r-- | 3rdParty/Boost/src/boost/regex/v4/instances.hpp | 8 | 
1 files changed, 6 insertions, 2 deletions
diff --git a/3rdParty/Boost/src/boost/regex/v4/instances.hpp b/3rdParty/Boost/src/boost/regex/v4/instances.hpp index d12dc6b..c62d136 100644 --- a/3rdParty/Boost/src/boost/regex/v4/instances.hpp +++ b/3rdParty/Boost/src/boost/regex/v4/instances.hpp @@ -118,10 +118,14 @@ template class BOOST_REGEX_TEMPLATE_DECL ::boost::re_detail::perl_matcher< std::  #undef BOOST_REGEX_TEMPLATE_DECL -#elif (defined(__GNUC__) && (__GNUC__ >= 3)) +#elif (defined(__GNUC__) && (__GNUC__ >= 3)) || !defined(BOOST_NO_EXTERN_TEMPLATE)  #  ifndef BOOST_REGEX_INSTANTIATE -#     define template __extension__ extern template +#     ifdef __GNUC__ +#        define template __extension__ extern template +#     else +#        define template extern template +#     endif  #  endif  #if !defined(BOOST_NO_STD_LOCALE) && !defined(BOOST_REGEX_ICU_INSTANCES)  | 
 Swift