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 http://www.boost.org/more/separate_compilation.html, by
0009 // John Maddock.
0010 
0011 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED
0012 #define BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED
0013 
0014 #if defined(_MSC_VER)
0015 # pragma once
0016 #endif              
0017 
0018 #include <boost/config.hpp>
0019 #include <boost/detail/workaround.hpp>
0020 
0021 //------------------Enable dynamic linking on windows-------------------------// 
0022 
0023 #ifdef BOOST_HAS_DECLSPEC 
0024 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
0025 #  ifdef BOOST_IOSTREAMS_SOURCE
0026 #   define BOOST_IOSTREAMS_DECL __declspec(dllexport)
0027 #  else
0028 #   define BOOST_IOSTREAMS_DECL __declspec(dllimport)
0029 #  endif  
0030 # endif
0031 //--------------Enable dynamic linking for non-windows---------------------//
0032 #else // BOOST_HAS_DECLSPEC
0033 # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK)
0034 #  ifdef BOOST_IOSTREAMS_SOURCE
0035 #   define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_EXPORT
0036 #  else
0037 #   define BOOST_IOSTREAMS_DECL BOOST_SYMBOL_IMPORT
0038 #  endif
0039 # endif
0040 #endif 
0041 
0042 #ifndef BOOST_IOSTREAMS_DECL
0043 # define BOOST_IOSTREAMS_DECL
0044 #endif
0045 
0046 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED