mirror of
https://github.com/boostorg/predef.git
synced 2025-07-29 19:47:12 +02:00
Initial headers for PreDef library.
git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@44040 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
13
boost/predef.hpp
Normal file
13
boost/predef.hpp
Normal file
@ -0,0 +1,13 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_HPP
|
||||
#define BOOST_PREDEF_HPP
|
||||
|
||||
#include <boost/predef/compiler.hpp>
|
||||
#include <boost/predef/library.hpp>
|
||||
#include <boost/predef/platform.hpp>
|
||||
|
||||
#endif
|
11
boost/predef/architecture.hpp
Normal file
11
boost/predef/architecture.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_HPP
|
||||
|
||||
#include <boost/predef/architecture/.hpp>
|
||||
|
||||
#endif
|
19
boost/predef/architecture/_.hpp
Normal file
19
boost/predef/architecture/_.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE__HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_ BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined() || defined()
|
||||
#undef BOOST_ARCHITECTURE_
|
||||
#define BOOST_ARCHITECTURE_ BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
28
boost/predef/architecture/alpha.hpp
Normal file
28
boost/predef/architecture/alpha.hpp
Normal file
@ -0,0 +1,28 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_ALPHA_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_ALPHA_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_ALPHA BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__alpha__) || defined(__alpha) || \
|
||||
defined(_M_ALPHA)
|
||||
#undef BOOST_ARCHITECTURE_ALPHA
|
||||
#if defined(__alpha_ev4__)
|
||||
#define BOOST_ARCHITECTURE_ALPHA BOOST_VERSION_NUMBER(4,0,0)
|
||||
#elif defined(__alpha_ev5__)
|
||||
#define BOOST_ARCHITECTURE_ALPHA BOOST_VERSION_NUMBER(5,0,0)
|
||||
#elif defined(__alpha_ev6__)
|
||||
#define BOOST_ARCHITECTURE_ALPHA BOOST_VERSION_NUMBER(6,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_ALPHA BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
21
boost/predef/architecture/amd64.hpp
Normal file
21
boost/predef/architecture/amd64.hpp
Normal file
@ -0,0 +1,21 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_AMD64_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_AMD64_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_AMD64 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__amd64__) || defined(__amd64) || \
|
||||
defined(__x86_64__) || defined(__x86_64) || \
|
||||
defined(_M_X64)
|
||||
#undef BOOST_ARCHITECTURE_AMD64
|
||||
#define BOOST_ARCHITECTURE_AMD64 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
26
boost/predef/architecture/arm.hpp
Normal file
26
boost/predef/architecture/arm.hpp
Normal file
@ -0,0 +1,26 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_ARM_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_ARM_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_ARM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__arm__) || defined(__thumb__) || \
|
||||
defined(__TARGET_ARCH_ARM) || defined(__TARGET_ARCH_THUMB)
|
||||
#undef BOOST_ARCHITECTURE_ARM
|
||||
#if defined(__TARGET_ARCH_ARM)
|
||||
#define BOOST_ARCHITECTURE_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_ARM,0,0)
|
||||
#elif defined(__TARGET_ARCH_THUMB)
|
||||
#define BOOST_ARCHITECTURE_ARM BOOST_VERSION_NUMBER(__TARGET_ARCH_THUMB,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_ARM BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
21
boost/predef/architecture/ia64.hpp
Normal file
21
boost/predef/architecture/ia64.hpp
Normal file
@ -0,0 +1,21 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_IA64_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_IA64_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_IA64 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__ia64__) || defined(_IA64) || \
|
||||
defined(__IA64__) || defined(__ia64) || \
|
||||
defined(_M_IA64)
|
||||
#undef BOOST_ARCHITECTURE_IA64
|
||||
#define BOOST_ARCHITECTURE_IA64 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
33
boost/predef/architecture/m68k.hpp
Normal file
33
boost/predef/architecture/m68k.hpp
Normal file
@ -0,0 +1,33 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_M68K_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_M68K_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__m68k__) || defined(M68000)
|
||||
#undef BOOST_ARCHITECTURE_M68K
|
||||
#if defined(__mc68000__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(0,0,1)
|
||||
#elif defined(__mc68010__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(1,0,0)
|
||||
#elif defined(__mc68020__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(2,0,0)
|
||||
#elif defined(__mc68030__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(3,0,0)
|
||||
#elif defined(__mc68040__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(4,0,0)
|
||||
#elif defined(__mc68060__)
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(6,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_M68K BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
32
boost/predef/architecture/mips.hpp
Normal file
32
boost/predef/architecture/mips.hpp
Normal file
@ -0,0 +1,32 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_MIPS_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_MIPS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__mips__) || defined(__mips) || \
|
||||
defined(__MIPS__)
|
||||
#undef BOOST_ARCHITECTURE_MIPS
|
||||
#if defined(__mips)
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(__mips,0,0)
|
||||
#elif defined(_MIPS_ISA_MIPS1) || defined(_R3000)
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(1,0,0)
|
||||
#elif defined(_MIPS_ISA_MIPS2) || defined(__MIPS_ISA2__) || defined(_R4000)
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(2,0,0)
|
||||
#elif defined(_MIPS_ISA_MIPS3) || defined(__MIPS_ISA3__)
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(3,0,0)
|
||||
#elif defined(_MIPS_ISA_MIPS4) || defined(__MIPS_ISA4__)
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(4,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_MIPS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
27
boost/predef/architecture/parisc.hpp
Normal file
27
boost/predef/architecture/parisc.hpp
Normal file
@ -0,0 +1,27 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_PARISC_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_PARISC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_PARISC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__hppa__) || defined(__hppa)
|
||||
#undef BOOST_ARCHITECTURE_PARISC
|
||||
#if defined(_PA_RISC1_0)
|
||||
#define BOOST_ARCHITECTURE_PARISC BOOST_VERSION_NUMBER(1,0,0)
|
||||
#elif defined(_PA_RISC1_1)
|
||||
#define BOOST_ARCHITECTURE_PARISC BOOST_VERSION_NUMBER(1,1,0)
|
||||
#elif defined(_PA_RISC2_0)
|
||||
#define BOOST_ARCHITECTURE_PARISC BOOST_VERSION_NUMBER(2,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_PARISC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
29
boost/predef/architecture/ppc.hpp
Normal file
29
boost/predef/architecture/ppc.hpp
Normal file
@ -0,0 +1,29 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_PPC_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_PPC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_PPC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__powerpc) || defined(__powerpc__) || \
|
||||
defined(__POWERPC__) || defined(__ppc__) || \
|
||||
defined(_M_PPC) || defined(_ARCH_PPC)
|
||||
#undef BOOST_ARCHITECTURE_PPC
|
||||
#if defined(__ppc601__) || defined(_ARCH_601)
|
||||
#define BOOST_ARCHITECTURE_PPC BOOST_VERSION_NUMBER(6,1,0)
|
||||
#elif defined(__ppc603__) || defined(_ARCH_603)
|
||||
#define BOOST_ARCHITECTURE_PPC BOOST_VERSION_NUMBER(6,3,0)
|
||||
#elif defined(__ppc604__) || defined(__ppc604__)
|
||||
#define BOOST_ARCHITECTURE_PPC BOOST_VERSION_NUMBER(6,4,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_PPC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/architecture/rs6k.hpp
Normal file
23
boost/predef/architecture/rs6k.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_RS6K_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_RS6K_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_RS6000 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__THW_RS6000) || defined(_IBMR2) || \
|
||||
defined(_POWER) || defined(_ARCH_PWR) || \
|
||||
defined(_ARCH_PWR2)
|
||||
#undef BOOST_ARCHITECTURE_RS6000
|
||||
#define BOOST_ARCHITECTURE_RS6000 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#define BOOST_ARCHITECTURE_PWR BOOST_ARCHITECTURE_RS6000
|
||||
|
||||
#endif
|
25
boost/predef/architecture/sparc.hpp
Normal file
25
boost/predef/architecture/sparc.hpp
Normal file
@ -0,0 +1,25 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_SPARC_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_SPARC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_SPARC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sparc__) || defined(__sparc)
|
||||
#undef BOOST_ARCHITECTURE_SPARC
|
||||
#if defined(__sparcv8)
|
||||
#define BOOST_ARCHITECTURE_SPARC BOOST_VERSION_NUMBER(8,0,0)
|
||||
#elif defined(__sparcv9)
|
||||
#define BOOST_ARCHITECTURE_SPARC BOOST_VERSION_NUMBER(9,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_SPARC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
31
boost/predef/architecture/superh.hpp
Normal file
31
boost/predef/architecture/superh.hpp
Normal file
@ -0,0 +1,31 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_SUPERH_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_SUPERH_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sh__)
|
||||
#undef BOOST_ARCHITECTURE_SH
|
||||
#if defined(__sh1__)
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(1,0,0)
|
||||
#elif defined(__sh2__)
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(2,0,0)
|
||||
#elif defined(__sh3__) || defined(__SH3__)
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(3,0,0)
|
||||
#elif defined(__SH4__)
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(4,0,0)
|
||||
#elif defined(__SH5__)
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(5,0,0)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_SH BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/architecture/sys370.hpp
Normal file
19
boost/predef/architecture/sys370.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_SYS370_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_SYS370_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_SYS370 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__370__) || defined(__THW_370__)
|
||||
#undef BOOST_ARCHITECTURE_SYS370
|
||||
#define BOOST_ARCHITECTURE_SYS370 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/architecture/sys390.hpp
Normal file
19
boost/predef/architecture/sys390.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_SYS390_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_SYS390_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_SYS390 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__s390__) || defined(__s390x__)
|
||||
#undef BOOST_ARCHITECTURE_SYS390
|
||||
#define BOOST_ARCHITECTURE_SYS390 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
30
boost/predef/architecture/x86.hpp
Normal file
30
boost/predef/architecture/x86.hpp
Normal file
@ -0,0 +1,30 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_X86_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_X86_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_X86 BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(i386) || defined(__i386__) || \
|
||||
defeind(__i486__) || defined(__i586__) || \
|
||||
defeind(__i686__) || defined(__i386) || \
|
||||
defeind(_M_IX86) || defined(_X86_) || \
|
||||
defeind(__THW_INTEL__) || defined(__I86__) || \
|
||||
defeind(__INTEL__)
|
||||
#undef BOOST_ARCHITECTURE_X86
|
||||
#if defined(__I86__)
|
||||
#define BOOST_ARCHITECTURE_X86 BOOST_VERSION_NUMBER(__I86__,0,0)
|
||||
#elif defined(_M_IX86)
|
||||
#define BOOST_ARCHITECTURE_X86 BOOST_PREDEF_VRP_N_N_N(_M_IX86)
|
||||
#else
|
||||
#define BOOST_ARCHITECTURE_X86 BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/architecture/z.hpp
Normal file
19
boost/predef/architecture/z.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_ARCHITECTURE_Z_HPP
|
||||
#define BOOST_PREDEF_ARCHITECTURE_Z_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_ARCHITECTURE_Z BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SYSC_ZARCH__)
|
||||
#undef BOOST_ARCHITECTURE_Z
|
||||
#define BOOST_ARCHITECTURE_Z BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
40
boost/predef/compiler.hpp
Normal file
40
boost/predef/compiler.hpp
Normal file
@ -0,0 +1,40 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_HPP
|
||||
#define BOOST_PREDEF_COMPILER_HPP
|
||||
|
||||
#include <boost/predef/compiler/borland.hpp>
|
||||
#include <boost/predef/compiler/comeau.hpp>
|
||||
#include <boost/predef/compiler/compaq.hpp>
|
||||
#include <boost/predef/compiler/cygwin.hpp>
|
||||
#include <boost/predef/compiler/diab.hpp>
|
||||
#include <boost/predef/compiler/digitalmars.hpp>
|
||||
#include <boost/predef/compiler/dignus.hpp>
|
||||
#include <boost/predef/compiler/edg.hpp>
|
||||
#include <boost/predef/compiler/ekopath.hpp>
|
||||
#include <boost/predef/compiler/gcc.hpp>
|
||||
#include <boost/predef/compiler/gcc_xml.hpp>
|
||||
#include <boost/predef/compiler/greenhills.hpp>
|
||||
#include <boost/predef/compiler/hp_acc.hpp>
|
||||
#include <boost/predef/compiler/iar.hpp>
|
||||
#include <boost/predef/compiler/ibm.hpp>
|
||||
#include <boost/predef/compiler/intel.hpp>
|
||||
#include <boost/predef/compiler/kai.hpp>
|
||||
#include <boost/predef/compiler/llvm.hpp>
|
||||
#include <boost/predef/compiler/metaware.hpp>
|
||||
#include <boost/predef/compiler/metrowerks.hpp>
|
||||
#include <boost/predef/compiler/microtec.hpp>
|
||||
#include <boost/predef/compiler/mingw.hpp>
|
||||
#include <boost/predef/compiler/mpw.hpp>
|
||||
#include <boost/predef/compiler/palm.hpp>
|
||||
#include <boost/predef/compiler/pgi.hpp>
|
||||
#include <boost/predef/compiler/sgi_mipspro.hpp>
|
||||
#include <boost/predef/compiler/sunpro.hpp>
|
||||
#include <boost/predef/compiler/tendra.hpp>
|
||||
#include <boost/predef/compiler/visualc.hpp>
|
||||
#include <boost/predef/compiler/watcom.hpp>
|
||||
|
||||
#endif
|
19
boost/predef/compiler/borland.hpp
Normal file
19
boost/predef/compiler/borland.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_BORLAND_HPP
|
||||
#define BOOST_PREDEF_COMPILER_BORLAND_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_BORLAND BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__BORLANDC__)
|
||||
#undef BOOST_CXX_BORLAND
|
||||
#define BOOST_CXX_BORLAND BOOST_PREDEF_VRP_FF_F_F(__BORLANDC__)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/comeau.hpp
Normal file
19
boost/predef/compiler/comeau.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_COMEAU_HPP
|
||||
#define BOOST_PREDEF_COMPILER_COMEAU_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_COMO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__COMO__)
|
||||
#undef BOOST_CXX_COMO
|
||||
#define BOOST_CXX_COMO BOOST_PREDEF_VRP_F_F_FF(__COMO_VERSION__)
|
||||
#endif
|
||||
|
||||
#endif
|
22
boost/predef/compiler/compaq.hpp
Normal file
22
boost/predef/compiler/compaq.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_COMPAQ_HPP
|
||||
#define BOOST_PREDEF_COMPILER_COMPAQ_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DECC)
|
||||
#undef BOOST_CXX_DEC
|
||||
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(\
|
||||
(__DECC_VER)/10000000,\
|
||||
(__DECC_VER%10000000)/100000,\
|
||||
(__DECC_VER%10000))
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/cygwin.hpp
Normal file
19
boost/predef/compiler/cygwin.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_CYGWIN_HPP
|
||||
#define BOOST_PREDEF_COMPILER_CYGWIN_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
#undef BOOST_CXX_CYGWIN
|
||||
#define BOOST_CXX_CYGWIN BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/diab.hpp
Normal file
19
boost/predef/compiler/diab.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_DIAB_HPP
|
||||
#define BOOST_PREDEF_COMPILER_BORLAND_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_DIAB BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DCC__)
|
||||
#undef BOOST_CXX_DIAB
|
||||
#define BOOST_CXX_DIAB BOOST_PREDEF_VRP_N_N_NN(__VERSION_NUMBER__)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/digitalmars.hpp
Normal file
19
boost/predef/compiler/digitalmars.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_DIGITALMARS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_DIGITALMARS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_DMC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__DMC__)
|
||||
#undef BOOST_CXX_DMC
|
||||
#define BOOST_CXX_DMC BOOST_PREDEF_VRP_F_F_F(__DMC__)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/dignus.hpp
Normal file
19
boost/predef/compiler/dignus.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_DIGNUS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_DIGNUS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_SYSC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SYSC__)
|
||||
#undef BOOST_CXX_SYSC
|
||||
#define BOOST_CXX_SYSC BOOST_PREDEF_VRP_N_NN_NN(__SYSC_VER__)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/edg.hpp
Normal file
19
boost/predef/compiler/edg.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_EDG_HPP
|
||||
#define BOOST_PREDEF_COMPILER_EDG_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_EDG BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__EDG__)
|
||||
#undef BOOST_CXX_EDG
|
||||
#define BOOST_CXX_EDG BOOST_PREDEF_VRP_N_N_N(__EDG_VERSION__)
|
||||
#endif
|
||||
|
||||
#endif
|
20
boost/predef/compiler/ekopath.hpp
Normal file
20
boost/predef/compiler/ekopath.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_EKOPATH_HPP
|
||||
#define BOOST_PREDEF_COMPILER_EKOPATH_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_PATH BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__PATHCC__)
|
||||
#undef BOOST_CXX_PATH
|
||||
#define BOOST_CXX_PATH \
|
||||
BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__)
|
||||
#endif
|
||||
|
||||
#endif
|
25
boost/predef/compiler/gcc.hpp
Normal file
25
boost/predef/compiler/gcc.hpp
Normal file
@ -0,0 +1,25 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_GCC_HPP
|
||||
#define BOOST_PREDEF_COMPILER_GCC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_GNUC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#undef BOOST_CXX_GNUC
|
||||
#if defined(__GNUC_PATCHLEVEL__)
|
||||
#define BOOST_CXX_GNUC \
|
||||
BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__)
|
||||
#else
|
||||
#define BOOST_CXX_GNUC \
|
||||
BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/gcc_xml.hpp
Normal file
19
boost/predef/compiler/gcc_xml.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_GCC_XML_HPP
|
||||
#define BOOST_PREDEF_COMPILER_GCC_XML_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_GCCXML BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GCCXML__)
|
||||
#undef BOOST_CXX_GCCXML
|
||||
#define BOOST_CXX_GCCXML BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/greenhills.hpp
Normal file
19
boost/predef/compiler/greenhills.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_GREENHILLS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_GREENHILLS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_GHS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__ghs)
|
||||
#undef BOOST_CXX_GHS
|
||||
#define BOOST_CXX_GHS BOOST_PREDEF_VRP_N_N_N(__ghs)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/hp_acc.hpp
Normal file
19
boost/predef/compiler/hp_acc.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_HP_ACC_HPP
|
||||
#define BOOST_PREDEF_COMPILER_HP_ACC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_HPACC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__HP_aCC)
|
||||
#undef BOOST_CXX_HPACC
|
||||
#define BOOST_CXX_HPACC BOOST_PREDEF_VRP_NN_NN_NN(__HP_aCC)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/iar.hpp
Normal file
19
boost/predef/compiler/iar.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_IAR_HPP
|
||||
#define BOOST_PREDEF_COMPILER_IAR_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_IAR BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IAR_SYSTEMS_ICC__)
|
||||
#undef BOOST_CXX_IAR
|
||||
#define BOOST_CXX_IAR BOOST_PREDEF_VRP_NN_NN(__VER__)
|
||||
#endif
|
||||
|
||||
#endif
|
25
boost/predef/compiler/ibm.hpp
Normal file
25
boost/predef/compiler/ibm.hpp
Normal file
@ -0,0 +1,25 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_IBM_HPP
|
||||
#define BOOST_PREDEF_COMPILER_IBM_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IBMCPP__) || defined(__xlC__)
|
||||
#undef BOOST_CXX_IBM
|
||||
#if defined(__COMPILER_VER__)
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_F_FF_FFFF(__COMPILER_VER__)
|
||||
#elif defined(__xlC__)
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_FF_FF(__xlC__)
|
||||
#else
|
||||
#define BOOST_CXX_IBM BOOST_PREDEF_VRP_N_N_N(__IBMCPP__)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
20
boost/predef/compiler/intel.hpp
Normal file
20
boost/predef/compiler/intel.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_INTEL_HPP
|
||||
#define BOOST_PREDEF_COMPILER_INTEL_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_INTEL BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
|
||||
defined(__ECC)
|
||||
#undef BOOST_CXX_INTEL
|
||||
#define BOOST_CXX_INTEL BOOST_PREDEF_VRP_N_N_N(__INTEL_COMPILER)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/kai.hpp
Normal file
19
boost/predef/compiler/kai.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_KAI_HPP
|
||||
#define BOOST_PREDEF_COMPILER_KAI_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_KCC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__KCC)
|
||||
#undef BOOST_CXX_KCC
|
||||
#define BOOST_CXX_KCC BOOST_PREDEF_VRP_F_F_FF(__KCC_VERSION)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/llvm.hpp
Normal file
19
boost/predef/compiler/llvm.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_LLVM_HPP
|
||||
#define BOOST_PREDEF_COMPILER_LLVM_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__llvm__)
|
||||
#undef BOOST_CXX_LLVM
|
||||
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/metaware.hpp
Normal file
19
boost/predef/compiler/metaware.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_METAWARE_HPP
|
||||
#define BOOST_PREDEF_COMPILER_METAWARE_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__HIGHC__)
|
||||
#undef BOOST_CXX_HIGHC
|
||||
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
41
boost/predef/compiler/metrowerks.hpp
Normal file
41
boost/predef/compiler/metrowerks.hpp
Normal file
@ -0,0 +1,41 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_METROWERKS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_METROWERKS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#undef BOOST_CXX_MWERKS
|
||||
#if __MWERKS__ == 0x3000
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,0,0)
|
||||
#elif __MWERKS__ == 0x3001
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,1,0)
|
||||
#elif __MWERKS__ == 0x3002
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,2,0)
|
||||
#elif __MWERKS__ == 0x3003
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,3,0)
|
||||
#elif __MWERKS__ == 0x3200
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,0,0)
|
||||
#elif __MWERKS__ == 0x3201
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,1,0)
|
||||
#elif __MWERKS__ == 0x3202
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,2,0)
|
||||
#elif __MWERKS__ == 0x3204 // note the "skip": 04->9.3
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,3,0)
|
||||
#elif __MWERKS__ == 0x3205
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,4,0)
|
||||
#elif __MWERKS__ == 0x3206
|
||||
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,5,0)
|
||||
#else
|
||||
#define BOOST_CXX_MWERKS BOOST_PREDEF_VRP_F_F_FF(__MWERKS__)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/microtec.hpp
Normal file
19
boost/predef/compiler/microtec.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_MICROTEC_HPP
|
||||
#define BOOST_PREDEF_COMPILER_MICROTEC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_MRI)
|
||||
#undef BOOST_CXX_MRI
|
||||
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
21
boost/predef/compiler/mingw.hpp
Normal file
21
boost/predef/compiler/mingw.hpp
Normal file
@ -0,0 +1,21 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_MINGW_HPP
|
||||
#define BOOST_PREDEF_COMPILER_MINGW_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MINGW32__)
|
||||
#include <_mingw.h>
|
||||
#undef BOOST_CXX_MINGW
|
||||
#define BOOST_CXX_MINGW \
|
||||
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/mpw.hpp
Normal file
19
boost/predef/compiler/mpw.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_MPW_HPP
|
||||
#define BOOST_PREDEF_COMPILER_MPW_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MRC__)
|
||||
#undef BOOST_CXX_MPW
|
||||
#define BOOST_CXX_MPW BOOST_PREDEF_VRP_FF_FF(__MRC__)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/palm.hpp
Normal file
19
boost/predef/compiler/palm.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_PALM_HPP
|
||||
#define BOOST_PREDEF_COMPILER_PALM_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_PALM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_PACC_VER)
|
||||
#undef BOOST_CXX_PALM
|
||||
#define BOOST_CXX_PALM BOOST_PREDEF_VRP_F_FF_FF_000(_PACC_VER)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/pgi.hpp
Normal file
19
boost/predef/compiler/pgi.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_PGI_HPP
|
||||
#define BOOST_PREDEF_COMPILER_PGI_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__PGI)
|
||||
#undef BOOST_CXX_PGI
|
||||
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/compiler/sgi_mipspro.hpp
Normal file
23
boost/predef/compiler/sgi_mipspro.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_SGI_MIPSPRO_HPP
|
||||
#define BOOST_PREDEF_COMPILER_SGI_MIPSPRO_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__sgi)
|
||||
#undef BOOST_CXX_SGI
|
||||
#if defined(_SGI_COMPILER_VERSION)
|
||||
#define BOOST_CXX_SGI BOOST_PREDEF_VRP_N_N_N(_SGI_COMPILER_VERSION)
|
||||
#else
|
||||
#define BOOST_CXX_SGI BOOST_PREDEF_VRP_N_N_N(_COMPILER_VERSION)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/sunpro.hpp
Normal file
19
boost/predef/compiler/sunpro.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_SUNPRO_HPP
|
||||
#define BOOST_PREDEF_COMPILER_SUNPRO_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SUNPRO_CC)
|
||||
#undef BOOST_CXX_SUNPRO
|
||||
#define BOOST_CXX_SUNPRO BOOST_PREDEF_VRP_F_F_F(__SUNPRO_CC)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/tendra.hpp
Normal file
19
boost/predef/compiler/tendra.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_TENDRA_HPP
|
||||
#define BOOST_PREDEF_COMPILER_TENDRA_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__TenDRA__)
|
||||
#undef BOOST_CXX_TENDRA
|
||||
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
37
boost/predef/compiler/visualc.hpp
Normal file
37
boost/predef/compiler/visualc.hpp
Normal file
@ -0,0 +1,37 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_VISUALC_HPP
|
||||
#define BOOST_PREDEF_COMPILER_VISUALC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_MSVC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#undef BOOST_CXX_MSVC
|
||||
#if !defined (_MSC_FULL_VER)
|
||||
#define BOOST_CXX_MSVC_BUILD 0
|
||||
#else
|
||||
// how many digits does the build number have?
|
||||
//
|
||||
#if _MSC_FULL_VER / 10000 == _MSC_VER
|
||||
// four digits
|
||||
#define BOOST_CXX_MSVC_BUILD (_MSC_FULL_VER % 10000)
|
||||
#elif _MSC_FULL_VER / 100000 == _MSC_VER
|
||||
// five digits
|
||||
#define BOOST_CXX_MSVC_BUILD (_MSC_FULL_VER % 100000)
|
||||
#else
|
||||
#error "Cannot determine build number from _MSC_FULL_VER"
|
||||
#endif
|
||||
#endif
|
||||
#define BOOST_CXX_MSVC BOOST_VERSION_NUMBER(\
|
||||
_MSC_VER/100-6,\
|
||||
_MSC_VER%100,\
|
||||
BOOST_CXX_MSVC_BUILD)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/compiler/watcom.hpp
Normal file
19
boost/predef/compiler/watcom.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_WATCOM_HPP
|
||||
#define BOOST_PREDEF_COMPILER_WATCOM_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_CXX_WATCOM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__WATCOMC__)
|
||||
#undef BOOST_CXX_WATCOM
|
||||
#define BOOST_CXX_WATCOM BOOST_PREDEF_VRP_NN_NN(__WATCOMC__)
|
||||
#endif
|
||||
|
||||
#endif
|
30
boost/predef/detail/vrp.hpp
Normal file
30
boost/predef/detail/vrp.hpp
Normal file
@ -0,0 +1,30 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_DETAIL_VRP_HPP
|
||||
#define BOOST_PREDEF_DETAIL_VRP_HPP
|
||||
|
||||
//~ Shorthands for the common version number formats used by vendors...
|
||||
|
||||
//~ Hexadecimal...
|
||||
#define BOOST_PREDEF_VRP_F_F_F(V) BOOST_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))
|
||||
#define BOOST_PREDEF_VRP_FF_F_F(V) BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))
|
||||
#define BOOST_PREDEF_VRP_F_F_FF(V) BOOST_VERSION_NUMBER((V&0xF000)>>12,(V&0xF00)>>8,(V&0xFF))
|
||||
#define BOOST_PREDEF_VRP_FF_FF(V) BOOST_VERSION_NUMBER((V&0xFF00)>>8,(V&0xFF),0)
|
||||
#define BOOST_PREDEF_VRP_F_FF_FFFF(V) BOOST_VERSION_NUMBER((V&0xF000000)>>24,(V&0xFF0000)>>16,(V&0xFFFF))
|
||||
#define BOOST_PREDEF_VRP_FF_FF_F(V) BOOST_VERSION_NUMBER((V&0xFF000)>>12,(V&0xFF0)>>4,(V&0xF))
|
||||
#define BOOST_PREDEF_VRP_F_FF_FF_000(V) BOOST_VERSION_NUMBER((V&0xF0000000)>>28,(V&0xFF00000)>>20,(V&0xFF000)>>12)
|
||||
|
||||
//~ Decimal...
|
||||
#define BOOST_PREDEF_VRP_N_N_N(V) BOOST_VERSION_NUMBER((V)/100,(V%100)/10,(V%10))
|
||||
#define BOOST_PREDEF_VRP_NN_NN_NN(V) BOOST_VERSION_NUMBER((V)/10000,(V%10000)/100,(V%100))
|
||||
#define BOOST_PREDEF_VRP_NN_NN(V) BOOST_VERSION_NUMBER((V%10000)/100,(V%100),0)
|
||||
#define BOOST_PREDEF_VRP_N_N_NN(V) BOOST_VERSION_NUMBER((V)/1000,(V%1000)/100,(V%100))
|
||||
#define BOOST_PREDEF_VRP_N_NN_NN(V) BOOST_VERSION_NUMBER((V)/10000,(V%10000)/100,(V%100))
|
||||
#define BOOST_PREDEF_VRP_N_N_N_000(V) BOOST_VERSION_NUMBER((V%100000)/100000,(V%10000)/10000,(V%1000)/1000)
|
||||
#define BOOST_PREDEF_VRP_N_NN_000(V) BOOST_VERSION_NUMBER((V%100000)/100000,(V%10000)/1000,0)
|
||||
#define BOOST_PREDEF_VRP_NN_NN_00_NN_00(V) BOOST_VERSION_NUMBER((V)/100000000,(V%100000000)/1000000,(V%10000)/100)
|
||||
|
||||
#endif
|
12
boost/predef/library.hpp
Normal file
12
boost/predef/library.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_HPP
|
||||
|
||||
#include <boost/predef/library/c.hpp>
|
||||
#include <boost/predef/library/std.hpp>
|
||||
|
||||
#endif
|
16
boost/predef/library/c.hpp
Normal file
16
boost/predef/library/c.hpp
Normal file
@ -0,0 +1,16 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_C_HPP
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include <boost/predef/library/c/gnu.hpp>
|
||||
#include <boost/predef/library/c/uc.hpp>
|
||||
#include <boost/predef/library/c/vms.hpp>
|
||||
#include <boost/predef/library/c/zos.hpp>
|
||||
|
||||
#endif
|
24
boost/predef/library/c/gnu.hpp
Normal file
24
boost/predef/library/c/gnu.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_GNU_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_C_GNU_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBC_GNU BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
|
||||
#undef BOOST_LIBC_GNU
|
||||
#if defined(__GLIBC__)
|
||||
#define BOOST_LIBC_GNU \
|
||||
BOOST_VERSION_NUMBER(__GLIBC__,__GLIBC_MINOR__,0)
|
||||
#else
|
||||
#define BOOST_LIBC_GNU \
|
||||
BOOST_VERSION_NUMBER(__GNU_LIBRARY__,__GNU_LIBRARY_MINOR__,0)
|
||||
#endif
|
||||
|
||||
#endif
|
20
boost/predef/library/c/uc.hpp
Normal file
20
boost/predef/library/c/uc.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_UC_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_C_UC_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBC_UC BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__UCLIBC__)
|
||||
#undef BOOST_LIBC_UC
|
||||
#define BOOST_LIBC_UC BOOST_VERSION_NUMBER(\
|
||||
__UCLIBC_MAJOR__,__UCLIBC_MINOR__,__UCLIBC_SUBLEVEL__)
|
||||
#endif
|
||||
|
||||
#endif
|
22
boost/predef/library/c/vms.hpp
Normal file
22
boost/predef/library/c/vms.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_VMS_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_C_VMS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBC_VMS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__CRTL_VER)
|
||||
#undef BOOST_LIBC_VMS
|
||||
#define BOOST_LIBC_VMS BOOST_VERSION_NUMBER(
|
||||
(__CRTL_VER)/10000000,\
|
||||
(__CRTL_VER%10000000)/100000,\
|
||||
(__CRTL_VER%10000)/100)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/library/c/zos.hpp
Normal file
19
boost/predef/library/c/zos.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_C_ZOS_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_C_ZOS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBC_ZOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__LIBREL__)
|
||||
#undef BOOST_LIBC_ZOS
|
||||
#define BOOST_LIBC_ZOS BOOST_PREDEF_VRP_F_FF_FFFF(__LIBREL__)
|
||||
#endif
|
||||
|
||||
#endif
|
39
boost/predef/library/std.hpp
Normal file
39
boost/predef/library/std.hpp
Normal file
@ -0,0 +1,39 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Copyright John Maddock 2001-2003
|
||||
//~ Copyright Jens Maurer 2001-2002
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_HPP
|
||||
|
||||
// We need to include an STD header to gives us the context
|
||||
// of which library we are using. The "smallest" code-wise header
|
||||
// seems to be <exception>. Boost uses <utility> but as far
|
||||
// as I can tell (RR) it's not a standalone header in most
|
||||
// implementations. Using <exception> also has the benefit of
|
||||
// being available in EC++, so we get a chance to make this work
|
||||
// for embeded users. And since it's not a header impacted by TR1
|
||||
// there's no magic needed for inclusion in the face of the
|
||||
// Boost.TR1 library.
|
||||
#include <exception>
|
||||
|
||||
// STLPort library; this _must_ come first, otherwise since
|
||||
// STLport typically sits on top of some other library, we
|
||||
// can end up detecting that first rather than STLport:
|
||||
#include <boost/predef/library/std/stlport.hpp>
|
||||
|
||||
// The rest in apha order, except for Dinkumware.
|
||||
#include <boost/predef/library/std/libcomo.hpp>
|
||||
#include <boost/predef/library/std/modena.hpp>
|
||||
#include <boost/predef/library/std/msl.hpp>
|
||||
#include <boost/predef/library/std/roguewave.hpp>
|
||||
#include <boost/predef/library/std/sgi.hpp>
|
||||
#include <boost/predef/library/std/stdcpp3.hpp>
|
||||
#include <boost/predef/library/std/vacpp.hpp>
|
||||
|
||||
// Dinkumware Library (this has to appear after any possible replacement libraries):
|
||||
#include <boost/predef/library/std/dinkumware.hpp>
|
||||
|
||||
#endif
|
23
boost/predef/library/std/dinkumware.hpp
Normal file
23
boost/predef/library/std/dinkumware.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_DINKUMWARE_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_DINKUMWARE BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
|
||||
#undef BOOST_LIBSTD_DINKUMWARE
|
||||
#if defined(_CPPLIB_VER)
|
||||
#define BOOST_LIBSTD_DINKUMWARE BOOST_PREDEF_VRP_NN_NN(__CPPLIB_VER)
|
||||
#else
|
||||
#define BOOST_LIBSTD_DINKUMWARE BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/library/std/libcomo.hpp
Normal file
19
boost/predef/library/std/libcomo.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_LIBCOMO_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_LIBCOMO_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_COMO BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__LIBCOMO__)
|
||||
#undef BOOST_LIBSTD_COMO
|
||||
#define BOOST_LIBSTD_COMO BOOST_VERSION_NUMBER(__LIBCOMO_VERSION__,0,0)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/library/std/modena.hpp
Normal file
19
boost/predef/library/std/modena.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_MODENA_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_MODENA_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_MSIPL BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
|
||||
#undef BOOST_LIBSTD_MSIPL
|
||||
#define BOOST_LIBSTD_MSIPL BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/library/std/msl.hpp
Normal file
23
boost/predef/library/std/msl.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_MSL_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_MSL_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_MSL BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__MSL_CPP__) || defined(__MSL__)
|
||||
#undef BOOST_LIBSTD_MSL
|
||||
#if defined(__MSL_CPP__)
|
||||
#define BOOST_LIBSTD_MSL BOOST_PREDEF_VRP_F_F_FF(__MSL_CPP__)
|
||||
#else
|
||||
#define BOOST_LIBSTD_MSL BOOST_PREDEF_VRP_F_F_FF(__MSL__)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
27
boost/predef/library/std/roguewave.hpp
Normal file
27
boost/predef/library/std/roguewave.hpp
Normal file
@ -0,0 +1,27 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_ROGUEWAVE_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_RW BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
|
||||
#undef BOOST_LIBSTD_RW
|
||||
#if defined(_RWSTD_VER)
|
||||
#if _RWSTD_VER < 0x010000
|
||||
#define BOOST_LIBSTD_RW BOOST_PREDEF_VRP_FF_FF_F(_RWSTD_VER)
|
||||
#else
|
||||
#define BOOST_LIBSTD_RW BOOST_PREDEF_VRP_FF_FF_FF(_RWSTD_VER)
|
||||
#endif
|
||||
#else
|
||||
#define BOOST_LIBSTD_RW BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/library/std/sgi.hpp
Normal file
23
boost/predef/library/std/sgi.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_SGI_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_SGI_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_SGI BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__STL_CONFIG_H)
|
||||
#undef BOOST_LIBSTD_SGI
|
||||
#if defined(__SGI_STL)
|
||||
#define BOOST_LIBSTD_SGI BOOST_PREDEF_VRP_F_F_F(__SGI_STL)
|
||||
#else
|
||||
#define BOOST_LIBSTD_SGI BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/library/std/stdcpp3.hpp
Normal file
23
boost/predef/library/std/stdcpp3.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_STDCPP3_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_GNU BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
||||
#undef BOOST_LIBSTD_GNU
|
||||
#if defined(__GLIBCXX__)
|
||||
#define BOOST_LIBSTD_GNU BOOST_PREDEF_VRP_NN_NN_NN(__GLIBCXX__)
|
||||
#else
|
||||
#define BOOST_LIBSTD_GNU BOOST_PREDEF_VRP_NN_NN_NN(__GLIBCPP__)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
26
boost/predef/library/std/stlport.hpp
Normal file
26
boost/predef/library/std/stlport.hpp
Normal file
@ -0,0 +1,26 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_STLPORT_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_STLPORT_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_STLPORT BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
|
||||
#undef BOOST_LIBSTD_STLPORT
|
||||
#if defined(_STLPORT_MAJOR)
|
||||
#define BOOST_LIBSTD_STLPORT \
|
||||
BOOST_VERSION_NUMBER(_STLPORT_MAJOR,_STLPORT_MINOR,_STLPORT_PATCHLEVEL)
|
||||
#elif defined(_STLPORT_VERSION)
|
||||
#define BOOST_LIBSTD_STLPORT BOOST_PREDEF_VRP_F_F_F(_STLPORT_VERSION)
|
||||
#else
|
||||
#define BOOST_LIBSTD_STLPORT BOOST_PREDEF_VRP_F_F_F(__SGI_STL_PORT)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/library/std/vacpp.hpp
Normal file
19
boost/predef/library/std/vacpp.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_LIBRARY_STD_VACPP_HPP
|
||||
#define BOOST_PREDEF_LIBRARY_STD_VACPP_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_LIBSTD_IBM BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__IBMCPP__)
|
||||
#undef BOOST_LIBSTD_IBM
|
||||
#define BOOST_LIBSTD_IBM BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
23
boost/predef/os.hpp
Normal file
23
boost/predef/os.hpp
Normal file
@ -0,0 +1,23 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_OS_HPP
|
||||
#define BOOST_PREDEF_OS_HPP
|
||||
|
||||
#include <boost/predef/os/aix.hpp>
|
||||
#include <boost/predef/os/amigaos.hpp>
|
||||
#include <boost/predef/os/beos.hpp>
|
||||
#include <boost/predef/os/bsd.hpp>
|
||||
#include <boost/predef/os/cygwin.hpp>
|
||||
#include <boost/predef/os/hpux.hpp>
|
||||
#include <boost/predef/os/irix.hpp>
|
||||
#include <boost/predef/os/linux.hpp>
|
||||
#include <boost/predef/os/macos.hpp>
|
||||
#include <boost/predef/os/qnxnto.hpp>
|
||||
#include <boost/predef/os/solaris.hpp>
|
||||
#include <boost/predef/os/unix.hpp>
|
||||
#include <boost/predef/os/windows.hpp>
|
||||
|
||||
#endif
|
29
boost/predef/os/aix.hpp
Normal file
29
boost/predef/os/aix.hpp
Normal file
@ -0,0 +1,29 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_AIX_HPP
|
||||
#define BOOST_PREDEF_COMPILER_AIX_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_AIX) || defined(__TOS_AIX__)
|
||||
#undef BOOST_OS_AIX
|
||||
#if defined(_AIX43)
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,3,0)
|
||||
#elif defined(_AIX41)
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(4,1,0)
|
||||
#elif defined(_AIX32)
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,2,0)
|
||||
#elif defined(_AIX3)
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(3,0,0)
|
||||
#else
|
||||
#define BOOST_OS_AIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/amigaos.hpp
Normal file
19
boost/predef/os/amigaos.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_AMIGAOS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_AMIGAOS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(AMIGA) || defined(__amigaos__)
|
||||
#undef BOOST_OS_AMIGAOS
|
||||
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/beos.hpp
Normal file
19
boost/predef/os/beos.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_BEOS_HPP
|
||||
#define BOOST_PREDEF_COMPILER_BEOS_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__BEOS__)
|
||||
#undef BOOST_OS_BEOS
|
||||
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
125
boost/predef/os/bsd.hpp
Normal file
125
boost/predef/os/bsd.hpp
Normal file
@ -0,0 +1,125 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_BSD_HPP
|
||||
#define BOOST_PREDEF_COMPILER_BSD_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_OS_FREE_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_OS_BSDI_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(BSD) || defined(__bsdi__) || \
|
||||
defined(__DragonFly__) || defined(__FreeBSD__) || \
|
||||
defined(__NetBSD__) || defined(__OpenBSD__) || \
|
||||
defined(_SYSTYPE_BSD)
|
||||
#undef BOOST_OS_BSD
|
||||
#undef BOOST_OS_BSDI_BSD
|
||||
#undef BOOST_OS_DRAGONFLY_BSD
|
||||
#undef BOOST_OS_FREE_BSD
|
||||
#undef BOOST_OS_NET_BSD
|
||||
#undef BOOST_OS_OPEN_BSD
|
||||
#if defined(BSD4_2)
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,2,0)
|
||||
#elif defined(BSD4_3)
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,3,0)
|
||||
#elif defined(BSD4_4)
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,4,0)
|
||||
#elif defined(BSD)
|
||||
#define BOOST_OS_BSD BOOST_PREDEF_VRP_NN_NN(BSD)
|
||||
#else
|
||||
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#if defined(__bsdi__)
|
||||
#define BOOST_OS_BSDI_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#if defined(__DragonFly__)
|
||||
#define BOOST_OS_DRAGONFLY_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#if defined(__FreeBSD__)
|
||||
#if defined(__FreeBSD_version)
|
||||
#if __FreeBSD_version < 500000
|
||||
#define BOOST_OS_FREE_BSD \
|
||||
BOOST_PREDEF_VRP_N_N_N_000(__FreeBSD_version)
|
||||
#else
|
||||
#define BOOST_OS_FREE_BSD \
|
||||
BOOST_PREDEF_VRP_N_NN_000(__FreeBSD_version)
|
||||
#endif
|
||||
#else
|
||||
#define BOOST_OS_FREE_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
#if defined(__NetBSD__)
|
||||
#if defined(NetBSD0_8)
|
||||
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(0,8,0)
|
||||
#elif defined(NetBSD0_9)
|
||||
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(0,9,0)
|
||||
#elif defined(NetBSD1_0)
|
||||
#define BOOST_OS_NET_BSD BOOST_VERSION_NUMBER(1,0,0)
|
||||
#elif defined(__NetBSD_Version)
|
||||
#define BOOST_OS_NET_BSD \
|
||||
BOOST_PREDEF_VRP_NN_NN_00_NN_00(__NetBSD_Version)
|
||||
#endif
|
||||
#if defined(__OpenBSD__)
|
||||
#if defined(OpenBSD2_0)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,0,0)
|
||||
#elif defined(OpenBSD2_1)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,1,0)
|
||||
#elif defined(OpenBSD2_2)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,2,0)
|
||||
#elif defined(OpenBSD2_3)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,3,0)
|
||||
#elif defined(OpenBSD2_4)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,4,0)
|
||||
#elif defined(OpenBSD2_5)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,5,0)
|
||||
#elif defined(OpenBSD2_6)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,6,0)
|
||||
#elif defined(OpenBSD2_7)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,7,0)
|
||||
#elif defined(OpenBSD2_8)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,8,0)
|
||||
#elif defined(OpenBSD2_9)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(2,9,0)
|
||||
#elif defined(OpenBSD3_0)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,0,0)
|
||||
#elif defined(OpenBSD3_1)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,1,0)
|
||||
#elif defined(OpenBSD3_2)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,2,0)
|
||||
#elif defined(OpenBSD3_3)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,3,0)
|
||||
#elif defined(OpenBSD3_4)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,4,0)
|
||||
#elif defined(OpenBSD3_5)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,5,0)
|
||||
#elif defined(OpenBSD3_6)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,6,0)
|
||||
#elif defined(OpenBSD3_7)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,7,0)
|
||||
#elif defined(OpenBSD3_8)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,8,0)
|
||||
#elif defined(OpenBSD3_9)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(3,9,0)
|
||||
#elif defined(OpenBSD4_0)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(4,0,0)
|
||||
#elif defined(OpenBSD4_1)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(4,1,0)
|
||||
#elif defined(OpenBSD4_2)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(4,2,0)
|
||||
#elif defined(OpenBSD4_3)
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(4,3,0)
|
||||
#else
|
||||
#define BOOST_OS_OPEN_BSD BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/cygwin.hpp
Normal file
19
boost/predef/os/cygwin.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_CYGWIN_HPP
|
||||
#define BOOST_PREDEF_COMPILER_CYGWIN_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__CYGWIN__)
|
||||
#undef BOOST_OS_CYGWIN
|
||||
#define BOOST_OS_CGYWIN BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/hpux.hpp
Normal file
19
boost/predef/os/hpux.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_HPUX_HPP
|
||||
#define BOOST_PREDEF_COMPILER_HPUX_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_HPUX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(hpux) || defined(_hpux) || defined(__hpux)
|
||||
#undef BOOST_OS_HPUX
|
||||
#define BOOST_OS_HPUX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/irix.hpp
Normal file
19
boost/predef/os/irix.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER_IRIX_HPP
|
||||
#define BOOST_PREDEF_COMPILER_IRIX_HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_IRIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(sgi) || defined(__sgi)
|
||||
#undef BOOST_OS_IRIX
|
||||
#define BOOST_OS_IRIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/linux.hpp
Normal file
19
boost/predef/os/linux.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(linux) || defined(__linux)
|
||||
#undef BOOST_OS_LINUX
|
||||
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
24
boost/predef/os/macos.hpp
Normal file
24
boost/predef/os/macos.hpp
Normal file
@ -0,0 +1,24 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(macintosh) || defined(Macintosh) || \
|
||||
(defined(__APPLE__) && defined(__MACH__))
|
||||
#undef BOOST_OS_MACOS
|
||||
#if defined(__APPLE__) && defined(__MACH__)
|
||||
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER(10,0,0)
|
||||
#else
|
||||
#define BOOST_OS_MACOS BOOST_VERSION_NUMBER(9,0,0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
25
boost/predef/os/qnxnto.hpp
Normal file
25
boost/predef/os/qnxnto.hpp
Normal file
@ -0,0 +1,25 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_QNX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(__QNX__) || defined(__QNXNTO__)
|
||||
#undef BOOST_OS_QNX
|
||||
#if defined(_NTO_VERSION)
|
||||
#define BOOST_OS_QNX BOOST_PREDEF_VRP_NN_NN(_NTO_VERSION)
|
||||
#elif defined(__QNX__)
|
||||
#define BOOST_OS_QNX BOOST_VERSION_NUMBER(4,0,0)
|
||||
#else
|
||||
#define BOOST_OS_QNX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/os/solaris.hpp
Normal file
19
boost/predef/os/solaris.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(sun) || defined(__sun)
|
||||
#undef BOOST_OS_SOLARIS
|
||||
#define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
20
boost/predef/os/unix.hpp
Normal file
20
boost/predef/os/unix.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(unix) || defined(__unix) || \
|
||||
defined(_XOPEN_SOURCE) || defined(_POSIX_SOURCE)
|
||||
#undef BOOST_OS_UNIX
|
||||
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
20
boost/predef/os/windows.hpp
Normal file
20
boost/predef/os/windows.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_COMPILER__HPP
|
||||
#define BOOST_PREDEF_COMPILER__HPP
|
||||
|
||||
#include <boost/predef/version_number.hpp>
|
||||
#include <boost/predef/detail/vrp.hpp>
|
||||
|
||||
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,0)
|
||||
|
||||
#if defined(_WIN32) || defined(_WIN64) || \
|
||||
defined(__WIN32__) || defined(__TOS_WIN__)
|
||||
#undef BOOST_OS_WINDOWS
|
||||
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,1)
|
||||
#endif
|
||||
|
||||
#endif
|
19
boost/predef/version_number.hpp
Normal file
19
boost/predef/version_number.hpp
Normal file
@ -0,0 +1,19 @@
|
||||
//~ Copyright Rene Rivera 2005
|
||||
//~ Copyright Redshift Software, Inc. 2008
|
||||
//~ Distributed under the Boost Software License, Version 1.0.
|
||||
//~ (See accompanying file LICENSE_1_0.txt or copy at
|
||||
//~ http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
#ifndef BOOST_PREDEF_VERSION_NUMBER_HPP
|
||||
#define BOOST_PREDEF_VERSION_NUMBER_HPP
|
||||
|
||||
/// Defines standard version numbers, with these properties:
|
||||
/// * Decimal base whole numbers in the range [0,major*10000000]
|
||||
/// * The number range is designed to allow for a (2,2,5) triplet.
|
||||
/// Which fits within a 32 bit value.
|
||||
/// * Values can be specified in any base.
|
||||
///
|
||||
#define BOOST_VERSION_NUMBER(major,minor,patch) \
|
||||
( ((major)*10000000) + ((minor)*100000) + (patch) )
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user