123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- #ifndef BOOST_SYSTEM_CONFIG_HPP
- #define BOOST_SYSTEM_CONFIG_HPP
- #include <boost/config.hpp>
- # if defined( BOOST_WINDOWS_API ) && defined( BOOST_POSIX_API )
- # error both BOOST_WINDOWS_API and BOOST_POSIX_API are defined
- # elif !defined( BOOST_WINDOWS_API ) && !defined( BOOST_POSIX_API )
- # if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__)
- # define BOOST_WINDOWS_API
- # else
- # define BOOST_POSIX_API
- # endif
- # endif
- #ifdef BOOST_HAS_DECLSPEC
- #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
- #ifdef BOOST_SYSTEM_SOURCE
- # define BOOST_SYSTEM_DECL __declspec(dllexport)
- #else
- # define BOOST_SYSTEM_DECL __declspec(dllimport)
- #endif
- #endif
- #endif
- #ifndef BOOST_SYSTEM_DECL
- #define BOOST_SYSTEM_DECL
- #endif
- #if !defined(BOOST_SYSTEM_SOURCE) && !defined(BOOST_ALL_NO_LIB) && !defined(BOOST_SYSTEM_NO_LIB)
- #define BOOST_LIB_NAME boost_system
- #if defined(BOOST_ALL_DYN_LINK) || defined(BOOST_SYSTEM_DYN_LINK)
- # define BOOST_DYN_LINK
- #endif
- #include <boost/config/auto_link.hpp>
- #endif
- #endif
|