Chris@16: // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com) Chris@16: // (C) Copyright 2003-2007 Jonathan Turkanis Chris@16: // Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) Chris@16: Chris@16: // See http://www.boost.org/libs/iostreams for documentation. Chris@16: Chris@16: // Adapted from and from Chris@16: // http://www.boost.org/more/separate_compilation.html, by John Maddock. Chris@16: Chris@16: #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_BZIP2_HPP_INCLUDED Chris@16: #define BOOST_IOSTREAMS_DETAIL_CONFIG_BZIP2_HPP_INCLUDED Chris@16: Chris@16: #if defined(_MSC_VER) && (_MSC_VER >= 1020) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: #if defined(BOOST_BZIP2_BINARY) Chris@16: # if defined(BOOST_MSVC) || \ Chris@16: defined(__BORLANDC__) || \ Chris@16: (defined(__MWERKS__) && defined(_WIN32) && (__MWERKS__ >= 0x3000)) || \ Chris@16: (defined(__ICL) && defined(_MSC_EXTENSIONS) && (_MSC_VER >= 1200)) \ Chris@16: /**/ Chris@16: Chris@16: // Specify the name of the .lib file. Chris@16: # pragma comment(lib, BOOST_STRINGIZE(BOOST_BZIP2_BINARY)) Chris@16: # endif Chris@16: #else Chris@16: # if !defined(BOOST_IOSTREAMS_SOURCE) && \ Chris@16: !defined(BOOST_ALL_NO_LIB) && \ Chris@16: !defined(BOOST_IOSTREAMS_NO_LIB) \ Chris@16: /**/ Chris@16: Chris@16: // Set the name of our library, this will get undef'ed by auto_link.hpp Chris@16: // once it's done with it. Chris@16: # define BOOST_LIB_NAME boost_bzip2 Chris@16: Chris@16: // If we're importing code from a dll, then tell auto_link.hpp about it. Chris@16: # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK) Chris@16: # define BOOST_DYN_LINK Chris@16: # endif Chris@16: Chris@16: // And include the header that does the work. Chris@16: # include Chris@16: # endif Chris@16: #endif Chris@16: Chris@16: #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_BZIP2_HPP_INCLUDED