Last change
on this file since 20 was
12,
checked in by landauf, 17 years ago
|
added boost
|
-
Property svn:executable set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | // (C) Copyright Jonathan Turkanis 2003. |
---|
2 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
---|
3 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) |
---|
4 | |
---|
5 | // See http://www.boost.org/libs/iostreams for documentation. |
---|
6 | |
---|
7 | // Adapted from http://www.boost.org/more/separate_compilation.html, by |
---|
8 | // John Maddock. |
---|
9 | |
---|
10 | #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED |
---|
11 | #define BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED |
---|
12 | |
---|
13 | #if defined(_MSC_VER) && (_MSC_VER >= 1020) |
---|
14 | # pragma once |
---|
15 | #endif |
---|
16 | |
---|
17 | #include <boost/config.hpp> |
---|
18 | #include <boost/detail/workaround.hpp> |
---|
19 | |
---|
20 | //------------------Enable dynamic linking on windows-------------------------// |
---|
21 | |
---|
22 | #ifdef BOOST_HAS_DECLSPEC |
---|
23 | # if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_IOSTREAMS_DYN_LINK) |
---|
24 | # ifdef BOOST_IOSTREAMS_SOURCE |
---|
25 | # define BOOST_IOSTREAMS_DECL __declspec(dllexport) |
---|
26 | # else |
---|
27 | # define BOOST_IOSTREAMS_DECL __declspec(dllimport) |
---|
28 | # endif |
---|
29 | # endif |
---|
30 | #endif |
---|
31 | |
---|
32 | #ifndef BOOST_IOSTREAMS_DECL |
---|
33 | # define BOOST_IOSTREAMS_DECL |
---|
34 | #endif |
---|
35 | |
---|
36 | #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_DYN_LINK_HPP_INCLUDED |
---|
Note: See
TracBrowser
for help on using the repository browser.