12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #if defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
- #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
- #elif defined(sun) || defined(__sun)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/solaris.hpp"
- #elif defined(__sgi)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/irix.hpp"
- #elif defined(__hpux)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/hpux.hpp"
- #elif defined(__CYGWIN__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/cygwin.hpp"
- #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
- #elif defined(__BEOS__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp"
- #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp"
- #elif defined(__IBMCPP__) || defined(_AIX)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
- #elif defined(__amigaos__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
- #elif defined(__QNXNTO__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp"
- #elif defined(__VXWORKS__)
- # define BOOST_PLATFORM_CONFIG "boost/config/platform/vxworks.hpp"
- #else
- # if defined(unix) \
- || defined(__unix) \
- || defined(_XOPEN_SOURCE) \
- || defined(_POSIX_SOURCE)
-
- # ifndef BOOST_HAS_UNISTD_H
- # define BOOST_HAS_UNISTD_H
- # endif
- # include <boost/config/posix_features.hpp>
- # endif
- # if defined (BOOST_ASSERT_CONFIG)
-
-
- # error "Unknown platform - please configure and report the results to boost.org"
- # endif
- #endif
|