config.hpp 790 B

12345678910111213141516171819202122232425262728
  1. // Boost string_algo library config.hpp header file ---------------------------//
  2. // Copyright Pavol Droba 2002-2003.
  3. //
  4. // Distributed under the Boost Software License, Version 1.0.
  5. // (See accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. // See http://www.boost.org/ for updates, documentation, and revision history.
  8. #ifndef BOOST_STRING_CONFIG_HPP
  9. #define BOOST_STRING_CONFIG_HPP
  10. #include <boost/config.hpp>
  11. #include <boost/detail/workaround.hpp>
  12. #ifdef BOOST_STRING_DEDUCED_TYPENAME
  13. # error "macro already defined!"
  14. #endif
  15. #define BOOST_STRING_TYPENAME BOOST_DEDUCED_TYPENAME
  16. // Metrowerks workaround
  17. #if BOOST_WORKAROUND(__MWERKS__, <= 0x3003) // 8.x
  18. #pragma parse_func_templ off
  19. #endif
  20. #endif // BOOST_STRING_CONFIG_HPP