Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:34:48

0001 //  Boost compiler configuration selection header file
0002 
0003 //  (C) Copyright John Maddock 2001 - 2002. 
0004 //  (C) Copyright Jens Maurer 2001. 
0005 //  Use, modification and distribution are subject to the 
0006 //  Boost Software License, Version 1.0. (See accompanying file 
0007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 //  See http://www.boost.org for most recent version.
0010 
0011 // locate which platform we are on and define BOOST_PLATFORM_CONFIG as needed.
0012 // Note that we define the headers to include using "header_name" not
0013 // <header_name> in order to prevent macro expansion within the header
0014 // name (for example "linux" is a macro on linux systems).
0015 
0016 #if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC)
0017 // linux, also other platforms (Hurd etc) that use GLIBC, should these really have their own config headers though?
0018 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/linux.hpp"
0019 
0020 #elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
0021 // BSD:
0022 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/bsd.hpp"
0023 
0024 #elif defined(sun) || defined(__sun)
0025 // solaris:
0026 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/solaris.hpp"
0027 
0028 #elif defined(__sgi)
0029 // SGI Irix:
0030 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/irix.hpp"
0031 
0032 #elif defined(__hpux)
0033 // hp unix:
0034 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/hpux.hpp"
0035 
0036 #elif defined(__CYGWIN__)
0037 // cygwin is not win32:
0038 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/cygwin.hpp"
0039 
0040 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
0041 // win32:
0042 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/win32.hpp"
0043 
0044 #elif defined(__HAIKU__)
0045 // Haiku
0046 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/haiku.hpp"
0047 
0048 #elif defined(__BEOS__)
0049 // BeOS
0050 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/beos.hpp"
0051 
0052 #elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
0053 // MacOS
0054 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/macos.hpp"
0055 
0056 #elif defined(__TOS_MVS__)
0057 // IBM z/OS
0058 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/zos.hpp"
0059 
0060 #elif defined(__IBMCPP__) || defined(_AIX)
0061 // IBM AIX
0062 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/aix.hpp"
0063 
0064 #elif defined(__amigaos__)
0065 // AmigaOS
0066 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/amigaos.hpp"
0067 
0068 #elif defined(__QNXNTO__)
0069 // QNX:
0070 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/qnxnto.hpp"
0071 
0072 #elif defined(__VXWORKS__)
0073 // vxWorks:
0074 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/vxworks.hpp"
0075 
0076 #elif defined(__SYMBIAN32__) 
0077 // Symbian: 
0078 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/symbian.hpp" 
0079 
0080 #elif defined(_CRAYC)
0081 // Cray:
0082 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/cray.hpp" 
0083 
0084 #elif defined(__VMS) 
0085 // VMS:
0086 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/vms.hpp" 
0087 
0088 #elif defined(__CloudABI__)
0089 // Nuxi CloudABI:
0090 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/cloudabi.hpp"
0091 
0092 #elif defined (__wasm__)
0093 // Web assembly:
0094 #  define BOOST_PLATFORM_CONFIG "boost/config/platform/wasm.hpp"
0095 
0096 #else
0097 
0098 #  if defined(unix) \
0099       || defined(__unix) \
0100       || defined(_XOPEN_SOURCE) \
0101       || defined(_POSIX_SOURCE)
0102 
0103    // generic unix platform:
0104 
0105 #  ifndef BOOST_HAS_UNISTD_H
0106 #     define BOOST_HAS_UNISTD_H
0107 #  endif
0108 
0109 #  include <boost/config/detail/posix_features.hpp>
0110 
0111 #  endif
0112 
0113 #  if defined (BOOST_ASSERT_CONFIG)
0114       // this must come last - generate an error if we don't
0115       // recognise the platform:
0116 #     error "Unknown platform - please configure and report the results to boost.org"
0117 #  endif
0118 
0119 #endif
0120 
0121 #if 0
0122 //
0123 // This section allows dependency scanners to find all the files we *might* include:
0124 //
0125 #  include "boost/config/platform/linux.hpp"
0126 #  include "boost/config/platform/bsd.hpp"
0127 #  include "boost/config/platform/solaris.hpp"
0128 #  include "boost/config/platform/irix.hpp"
0129 #  include "boost/config/platform/hpux.hpp"
0130 #  include "boost/config/platform/cygwin.hpp"
0131 #  include "boost/config/platform/win32.hpp"
0132 #  include "boost/config/platform/beos.hpp"
0133 #  include "boost/config/platform/macos.hpp"
0134 #  include "boost/config/platform/zos.hpp"
0135 #  include "boost/config/platform/aix.hpp"
0136 #  include "boost/config/platform/amigaos.hpp"
0137 #  include "boost/config/platform/qnxnto.hpp"
0138 #  include "boost/config/platform/vxworks.hpp"
0139 #  include "boost/config/platform/symbian.hpp" 
0140 #  include "boost/config/platform/cray.hpp" 
0141 #  include "boost/config/platform/vms.hpp" 
0142 #  include <boost/config/detail/posix_features.hpp>
0143 
0144 
0145 
0146 #endif
0147