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 #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
22 #       else
23 #           define BOOST_LOCALE_DECL BOOST_SYMBOL_IMPORT
24 #       endif  // BOOST_LOCALE_SOURCE
25 #   endif  // DYN_LINK
26 #endif  // BOOST_HAS_DECLSPEC
27 
28 #ifndef BOOST_LOCALE_DECL
29 #   define BOOST_LOCALE_DECL
30 #endif
31 
32 #endif // boost/locale/config.hpp
33 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
34 
35