2 // Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
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)
8 #ifndef BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED
9 #define BOOST_LOCALE_DEFINITIONS_HPP_INCLUDED
11 #include <boost/config.hpp>
13 // Support older ICU versions
14 #ifndef BOOST_SYMBOL_VISIBLE
15 # define BOOST_SYMBOL_VISIBLE
18 #ifdef BOOST_HAS_DECLSPEC
19 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
20 # ifdef BOOST_LOCALE_SOURCE
21 # define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT
23 # define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
24 # endif // BOOST_LOCALE_SOURCE
26 #endif // BOOST_HAS_DECLSPEC
28 #ifndef BOOST_LOCALE_DECL
29 # define BOOST_LOCALE_DECL
32 #endif // boost/locale/config.hpp
33 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4