definitions.hpp 858 B

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
  3. //
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // http://www.boost.org/LICENSE_1_0.txt)
  7. //
  8. #ifndef BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED
  9. #define BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED
  10. #include <boost/config.hpp>
  11. // Support older ICU versions
  12. #ifndef BOOST_SYMBOL_VISIBLE
  13. # define BOOST_SYMBOL_VISIBLE
  14. #endif
  15. #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
  16. # ifdef BOOST_LOCALE_SOURCE
  17. # define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT
  18. # else
  19. # define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
  20. # endif // BOOST_LOCALE_SOURCE
  21. #endif // DYN_LINK
  22. #ifndef BOOST_LOCALE_DECL
  23. # define BOOST_LOCALE_DECL
  24. #endif
  25. #endif // boost/locale/config.hpp
  26. // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4