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 11 #include <boost/config.hpp> 12 13 // Support older ICU versions 14 #ifndef BOOST_SYMBOL_VISIBLE 15 # define BOOST_SYMBOL_VISIBLE 16 #endif 17 18 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK) 19 # ifdef BOOST_LOCALE_SOURCE 20 # define BOOST_LOCALE_DECL BOOST_SYMBOL_EXPORT 21 # else 22 # define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT 23 # endif // BOOST_LOCALE_SOURCE 24 #endif // DYN_LINK 25 26 #ifndef BOOST_LOCALE_DECL 27 # define BOOST_LOCALE_DECL 28 #endif 29 30 #endif // boost/locale/config.hpp 31 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 32 33