select_platform_config.hpp
Go to the documentation of this file.
00001 //  Boost compiler configuration selection header file
00002 
00003 //  (C) Copyright John Maddock 2001 - 2002. 
00004 //  (C) Copyright Jens Maurer 2001. 
00005 //  Use, modification and distribution are subject to the 
00006 //  Boost Software License, Version 1.0. (See accompanying file 
00007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00008 
00009 //  See http://www.boost.org for most recent version.
00010 
00011 // locate which platform we are on and define BOOST_PLATFORM_CONFIG as needed.
00012 // Note that we define the headers to include using "header_name" not
00013 // <header_name> in order to prevent macro expansion within the header
00014 // name (for example "linux" is a macro on linux systems).
00015 
00016 #if defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__) 
00017 // linux, also other platforms (Hurd etc) that use GLIBC, should these really have their own config headers though?
00018 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
00019 
00020 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
00021 // BSD:
00022 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
00023 
00024 #elif defined(sun) || defined(__sun)
00025 // solaris:
00026 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/solaris.hpp"
00027 
00028 #elif defined(__sgi)
00029 // SGI Irix:
00030 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/irix.hpp"
00031 
00032 #elif defined(__hpux)
00033 // hp unix:
00034 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/hpux.hpp"
00035 
00036 #elif defined(__CYGWIN__)
00037 // cygwin is not win32:
00038 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/cygwin.hpp"
00039 
00040 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
00041 // win32:
00042 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
00043 
00044 #elif defined(__BEOS__)
00045 // BeOS
00046 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp"
00047 
00048 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
00049 // MacOS
00050 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp"
00051 
00052 #elif defined(__IBMCPP__) || defined(_AIX)
00053 // IBM
00054 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
00055 
00056 #elif defined(__amigaos__)
00057 // AmigaOS
00058 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
00059 
00060 #elif defined(__QNXNTO__)
00061 // QNX:
00062 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp"
00063 
00064 #else
00065 
00066 #  if defined(unix) \
00067       || defined(__unix) \
00068       || defined(_XOPEN_SOURCE) \
00069       || defined(_POSIX_SOURCE)
00070 
00071    // generic unix platform:
00072 
00073 #  ifndef BOOST_HAS_UNISTD_H
00074 #     define BOOST_HAS_UNISTD_H
00075 #  endif
00076 
00077 #  include <boost/config/posix_features.hpp>
00078 
00079 #  endif
00080 
00081 #  if defined (BOOST_ASSERT_CONFIG)
00082       // this must come last - generate an error if we don't
00083       // recognise the platform:
00084 #     error "Unknown platform - please configure and report the results to boost.org"
00085 #  endif
00086 
00087 #endif
00088 
00089 
00090 


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:29