Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:48

0001 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
0002 // (C) Copyright 2003-2007 Jonathan Turkanis
0003 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0004 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
0005 
0006 // See http://www.boost.org/libs/iostreams for documentation.
0007 
0008 // Adapted from <boost/config/auto_link.hpp> and from
0009 // http://www.boost.org/more/separate_compilation.html, by John Maddock.
0010 
0011 #ifndef BOOST_IOSTREAMS_DETAIL_AUTO_LINK_HPP_INCLUDED
0012 #define BOOST_IOSTREAMS_DETAIL_AUTO_LINK_HPP_INCLUDED
0013 
0014 #if defined(_MSC_VER)
0015 # pragma once
0016 #endif              
0017 
0018 #if defined(BOOST_EXTERNAL_LIB_NAME)
0019 # if defined(BOOST_MSVC) \
0020      || defined(__BORLANDC__) && !defined(__clang__) \
0021      || (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) \
0022      || (defined(__ICL) && defined(_MSC_EXTENSIONS)) \
0023      /**/
0024 #  pragma comment(lib, BOOST_EXTERNAL_LIB_NAME)
0025 # endif
0026 # undef BOOST_EXTERNAL_LIB_NAME
0027 #endif
0028 
0029 //------------------Enable automatic library variant selection----------------// 
0030 
0031 #if !defined(BOOST_IOSTREAMS_SOURCE) && \
0032     !defined(BOOST_ALL_NO_LIB) && \
0033     !defined(BOOST_IOSTREAMS_NO_LIB) \
0034     /**/
0035 
0036 // Set the name of our library, this will get undef'ed by auto_link.hpp
0037 // once it's done with it.
0038 # define BOOST_LIB_NAME boost_iostreams
0039 
0040 // If we're importing code from a dll, then tell auto_link.hpp about it.
0041 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
0042 #  define BOOST_DYN_LINK
0043 # endif
0044 
0045 // And include the header that does the work.
0046 # include <boost/config/auto_link.hpp>
0047 #endif  // auto-linking disabled
0048 
0049 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_AUTO_LINK_HPP_INCLUDED