Boost.Locale
boost/locale/config.hpp
00001 //
00002 //  Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
00003 //
00004 //  Distributed under the Boost Software License, Version 1.0. (See
00005 //  accompanying file LICENSE_1_0.txt or copy at
00006 //  http://www.boost.org/LICENSE_1_0.txt)
00007 //
00008 #ifndef BOOST_LOCALE_CONFIG_HPP_INCLUDED
00009 #define BOOST_LOCALE_CONFIG_HPP_INCLUDED
00010 
00011 #include <boost/locale/definitions.hpp>
00012 
00013 //
00014 // Automatically link to the correct build variant where possible. 
00015 // 
00016 #if !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_LOCALE_NO_LIB) && !defined(BOOST_LOCALE_SOURCE)
00017 //
00018 // Set the name of our library, this will get undef'ed by auto_link.hpp
00019 // once it's done with it:
00020 //
00021 #define BOOST_LIB_NAME boost_locale
00022 //
00023 // If we're importing code from a dll, then tell auto_link.hpp about it:
00024 //
00025 #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_LOCALE_DYN_LINK)
00026 #  define BOOST_DYN_LINK
00027 #endif
00028 //
00029 // And include the header that does the work:
00030 //
00031 #include <boost/config/auto_link.hpp>
00032 #endif  // auto-linking disabled
00033 
00034 
00035 #endif // boost/locale/config.hpp
00036 // vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
00037