From f73935b32d9e2708589f512973d3aacd50a1fc58 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 4 Apr 2008 18:47:29 +0000 Subject: [PATCH] Initial headers for PreDef library. git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@44040 b8fc166d-592f-0410-95f2-cb63ce0dd405 --- boost/predef.hpp | 13 +++ boost/predef/architecture.hpp | 11 +++ boost/predef/architecture/_.hpp | 19 ++++ boost/predef/architecture/alpha.hpp | 28 ++++++ boost/predef/architecture/amd64.hpp | 21 ++++ boost/predef/architecture/arm.hpp | 26 +++++ boost/predef/architecture/ia64.hpp | 21 ++++ boost/predef/architecture/m68k.hpp | 33 +++++++ boost/predef/architecture/mips.hpp | 32 ++++++ boost/predef/architecture/parisc.hpp | 27 +++++ boost/predef/architecture/ppc.hpp | 29 ++++++ boost/predef/architecture/rs6k.hpp | 23 +++++ boost/predef/architecture/sparc.hpp | 25 +++++ boost/predef/architecture/superh.hpp | 31 ++++++ boost/predef/architecture/sys370.hpp | 19 ++++ boost/predef/architecture/sys390.hpp | 19 ++++ boost/predef/architecture/x86.hpp | 30 ++++++ boost/predef/architecture/z.hpp | 19 ++++ boost/predef/compiler.hpp | 40 ++++++++ boost/predef/compiler/borland.hpp | 19 ++++ boost/predef/compiler/comeau.hpp | 19 ++++ boost/predef/compiler/compaq.hpp | 22 +++++ boost/predef/compiler/cygwin.hpp | 19 ++++ boost/predef/compiler/diab.hpp | 19 ++++ boost/predef/compiler/digitalmars.hpp | 19 ++++ boost/predef/compiler/dignus.hpp | 19 ++++ boost/predef/compiler/edg.hpp | 19 ++++ boost/predef/compiler/ekopath.hpp | 20 ++++ boost/predef/compiler/gcc.hpp | 25 +++++ boost/predef/compiler/gcc_xml.hpp | 19 ++++ boost/predef/compiler/greenhills.hpp | 19 ++++ boost/predef/compiler/hp_acc.hpp | 19 ++++ boost/predef/compiler/iar.hpp | 19 ++++ boost/predef/compiler/ibm.hpp | 25 +++++ boost/predef/compiler/intel.hpp | 20 ++++ boost/predef/compiler/kai.hpp | 19 ++++ boost/predef/compiler/llvm.hpp | 19 ++++ boost/predef/compiler/metaware.hpp | 19 ++++ boost/predef/compiler/metrowerks.hpp | 41 ++++++++ boost/predef/compiler/microtec.hpp | 19 ++++ boost/predef/compiler/mingw.hpp | 21 ++++ boost/predef/compiler/mpw.hpp | 19 ++++ boost/predef/compiler/palm.hpp | 19 ++++ boost/predef/compiler/pgi.hpp | 19 ++++ boost/predef/compiler/sgi_mipspro.hpp | 23 +++++ boost/predef/compiler/sunpro.hpp | 19 ++++ boost/predef/compiler/tendra.hpp | 19 ++++ boost/predef/compiler/visualc.hpp | 37 +++++++ boost/predef/compiler/watcom.hpp | 19 ++++ boost/predef/detail/vrp.hpp | 30 ++++++ boost/predef/library.hpp | 12 +++ boost/predef/library/c.hpp | 16 +++ boost/predef/library/c/gnu.hpp | 24 +++++ boost/predef/library/c/uc.hpp | 20 ++++ boost/predef/library/c/vms.hpp | 22 +++++ boost/predef/library/c/zos.hpp | 19 ++++ boost/predef/library/std.hpp | 39 ++++++++ boost/predef/library/std/dinkumware.hpp | 23 +++++ boost/predef/library/std/libcomo.hpp | 19 ++++ boost/predef/library/std/modena.hpp | 19 ++++ boost/predef/library/std/msl.hpp | 23 +++++ boost/predef/library/std/roguewave.hpp | 27 +++++ boost/predef/library/std/sgi.hpp | 23 +++++ boost/predef/library/std/stdcpp3.hpp | 23 +++++ boost/predef/library/std/stlport.hpp | 26 +++++ boost/predef/library/std/vacpp.hpp | 19 ++++ boost/predef/os.hpp | 23 +++++ boost/predef/os/aix.hpp | 29 ++++++ boost/predef/os/amigaos.hpp | 19 ++++ boost/predef/os/beos.hpp | 19 ++++ boost/predef/os/bsd.hpp | 125 ++++++++++++++++++++++++ boost/predef/os/cygwin.hpp | 19 ++++ boost/predef/os/hpux.hpp | 19 ++++ boost/predef/os/irix.hpp | 19 ++++ boost/predef/os/linux.hpp | 19 ++++ boost/predef/os/macos.hpp | 24 +++++ boost/predef/os/qnxnto.hpp | 25 +++++ boost/predef/os/solaris.hpp | 19 ++++ boost/predef/os/unix.hpp | 20 ++++ boost/predef/os/windows.hpp | 20 ++++ boost/predef/version_number.hpp | 19 ++++ 81 files changed, 1901 insertions(+) create mode 100644 boost/predef.hpp create mode 100644 boost/predef/architecture.hpp create mode 100644 boost/predef/architecture/_.hpp create mode 100644 boost/predef/architecture/alpha.hpp create mode 100644 boost/predef/architecture/amd64.hpp create mode 100644 boost/predef/architecture/arm.hpp create mode 100644 boost/predef/architecture/ia64.hpp create mode 100644 boost/predef/architecture/m68k.hpp create mode 100644 boost/predef/architecture/mips.hpp create mode 100644 boost/predef/architecture/parisc.hpp create mode 100644 boost/predef/architecture/ppc.hpp create mode 100644 boost/predef/architecture/rs6k.hpp create mode 100644 boost/predef/architecture/sparc.hpp create mode 100644 boost/predef/architecture/superh.hpp create mode 100644 boost/predef/architecture/sys370.hpp create mode 100644 boost/predef/architecture/sys390.hpp create mode 100644 boost/predef/architecture/x86.hpp create mode 100644 boost/predef/architecture/z.hpp create mode 100644 boost/predef/compiler.hpp create mode 100644 boost/predef/compiler/borland.hpp create mode 100644 boost/predef/compiler/comeau.hpp create mode 100644 boost/predef/compiler/compaq.hpp create mode 100644 boost/predef/compiler/cygwin.hpp create mode 100644 boost/predef/compiler/diab.hpp create mode 100644 boost/predef/compiler/digitalmars.hpp create mode 100644 boost/predef/compiler/dignus.hpp create mode 100644 boost/predef/compiler/edg.hpp create mode 100644 boost/predef/compiler/ekopath.hpp create mode 100644 boost/predef/compiler/gcc.hpp create mode 100644 boost/predef/compiler/gcc_xml.hpp create mode 100644 boost/predef/compiler/greenhills.hpp create mode 100644 boost/predef/compiler/hp_acc.hpp create mode 100644 boost/predef/compiler/iar.hpp create mode 100644 boost/predef/compiler/ibm.hpp create mode 100644 boost/predef/compiler/intel.hpp create mode 100644 boost/predef/compiler/kai.hpp create mode 100644 boost/predef/compiler/llvm.hpp create mode 100644 boost/predef/compiler/metaware.hpp create mode 100644 boost/predef/compiler/metrowerks.hpp create mode 100644 boost/predef/compiler/microtec.hpp create mode 100644 boost/predef/compiler/mingw.hpp create mode 100644 boost/predef/compiler/mpw.hpp create mode 100644 boost/predef/compiler/palm.hpp create mode 100644 boost/predef/compiler/pgi.hpp create mode 100644 boost/predef/compiler/sgi_mipspro.hpp create mode 100644 boost/predef/compiler/sunpro.hpp create mode 100644 boost/predef/compiler/tendra.hpp create mode 100644 boost/predef/compiler/visualc.hpp create mode 100644 boost/predef/compiler/watcom.hpp create mode 100644 boost/predef/detail/vrp.hpp create mode 100644 boost/predef/library.hpp create mode 100644 boost/predef/library/c.hpp create mode 100644 boost/predef/library/c/gnu.hpp create mode 100644 boost/predef/library/c/uc.hpp create mode 100644 boost/predef/library/c/vms.hpp create mode 100644 boost/predef/library/c/zos.hpp create mode 100644 boost/predef/library/std.hpp create mode 100644 boost/predef/library/std/dinkumware.hpp create mode 100644 boost/predef/library/std/libcomo.hpp create mode 100644 boost/predef/library/std/modena.hpp create mode 100644 boost/predef/library/std/msl.hpp create mode 100644 boost/predef/library/std/roguewave.hpp create mode 100644 boost/predef/library/std/sgi.hpp create mode 100644 boost/predef/library/std/stdcpp3.hpp create mode 100644 boost/predef/library/std/stlport.hpp create mode 100644 boost/predef/library/std/vacpp.hpp create mode 100644 boost/predef/os.hpp create mode 100644 boost/predef/os/aix.hpp create mode 100644 boost/predef/os/amigaos.hpp create mode 100644 boost/predef/os/beos.hpp create mode 100644 boost/predef/os/bsd.hpp create mode 100644 boost/predef/os/cygwin.hpp create mode 100644 boost/predef/os/hpux.hpp create mode 100644 boost/predef/os/irix.hpp create mode 100644 boost/predef/os/linux.hpp create mode 100644 boost/predef/os/macos.hpp create mode 100644 boost/predef/os/qnxnto.hpp create mode 100644 boost/predef/os/solaris.hpp create mode 100644 boost/predef/os/unix.hpp create mode 100644 boost/predef/os/windows.hpp create mode 100644 boost/predef/version_number.hpp diff --git a/boost/predef.hpp b/boost/predef.hpp new file mode 100644 index 0000000..c7c77f3 --- /dev/null +++ b/boost/predef.hpp @@ -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 +#include +#include + +#endif diff --git a/boost/predef/architecture.hpp b/boost/predef/architecture.hpp new file mode 100644 index 0000000..b85adb7 --- /dev/null +++ b/boost/predef/architecture.hpp @@ -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 + +#endif diff --git a/boost/predef/architecture/_.hpp b/boost/predef/architecture/_.hpp new file mode 100644 index 0000000..ec69b01 --- /dev/null +++ b/boost/predef/architecture/_.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/alpha.hpp b/boost/predef/architecture/alpha.hpp new file mode 100644 index 0000000..ad25065 --- /dev/null +++ b/boost/predef/architecture/alpha.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/amd64.hpp b/boost/predef/architecture/amd64.hpp new file mode 100644 index 0000000..f469fb2 --- /dev/null +++ b/boost/predef/architecture/amd64.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/arm.hpp b/boost/predef/architecture/arm.hpp new file mode 100644 index 0000000..1c991d6 --- /dev/null +++ b/boost/predef/architecture/arm.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/ia64.hpp b/boost/predef/architecture/ia64.hpp new file mode 100644 index 0000000..56918e4 --- /dev/null +++ b/boost/predef/architecture/ia64.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/m68k.hpp b/boost/predef/architecture/m68k.hpp new file mode 100644 index 0000000..bec1e85 --- /dev/null +++ b/boost/predef/architecture/m68k.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/mips.hpp b/boost/predef/architecture/mips.hpp new file mode 100644 index 0000000..b99e007 --- /dev/null +++ b/boost/predef/architecture/mips.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/parisc.hpp b/boost/predef/architecture/parisc.hpp new file mode 100644 index 0000000..abe0485 --- /dev/null +++ b/boost/predef/architecture/parisc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/ppc.hpp b/boost/predef/architecture/ppc.hpp new file mode 100644 index 0000000..d620ea6 --- /dev/null +++ b/boost/predef/architecture/ppc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/rs6k.hpp b/boost/predef/architecture/rs6k.hpp new file mode 100644 index 0000000..5944766 --- /dev/null +++ b/boost/predef/architecture/rs6k.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/sparc.hpp b/boost/predef/architecture/sparc.hpp new file mode 100644 index 0000000..708b6d4 --- /dev/null +++ b/boost/predef/architecture/sparc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/superh.hpp b/boost/predef/architecture/superh.hpp new file mode 100644 index 0000000..e54cc6e --- /dev/null +++ b/boost/predef/architecture/superh.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/sys370.hpp b/boost/predef/architecture/sys370.hpp new file mode 100644 index 0000000..82aa0df --- /dev/null +++ b/boost/predef/architecture/sys370.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/sys390.hpp b/boost/predef/architecture/sys390.hpp new file mode 100644 index 0000000..5c6289d --- /dev/null +++ b/boost/predef/architecture/sys390.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/x86.hpp b/boost/predef/architecture/x86.hpp new file mode 100644 index 0000000..97987b4 --- /dev/null +++ b/boost/predef/architecture/x86.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/architecture/z.hpp b/boost/predef/architecture/z.hpp new file mode 100644 index 0000000..7d57cd8 --- /dev/null +++ b/boost/predef/architecture/z.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler.hpp b/boost/predef/compiler.hpp new file mode 100644 index 0000000..2b78b1e --- /dev/null +++ b/boost/predef/compiler.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif diff --git a/boost/predef/compiler/borland.hpp b/boost/predef/compiler/borland.hpp new file mode 100644 index 0000000..5b25321 --- /dev/null +++ b/boost/predef/compiler/borland.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/comeau.hpp b/boost/predef/compiler/comeau.hpp new file mode 100644 index 0000000..4d8d9f9 --- /dev/null +++ b/boost/predef/compiler/comeau.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/compaq.hpp b/boost/predef/compiler/compaq.hpp new file mode 100644 index 0000000..4111498 --- /dev/null +++ b/boost/predef/compiler/compaq.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/cygwin.hpp b/boost/predef/compiler/cygwin.hpp new file mode 100644 index 0000000..a133190 --- /dev/null +++ b/boost/predef/compiler/cygwin.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/diab.hpp b/boost/predef/compiler/diab.hpp new file mode 100644 index 0000000..9803af9 --- /dev/null +++ b/boost/predef/compiler/diab.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/digitalmars.hpp b/boost/predef/compiler/digitalmars.hpp new file mode 100644 index 0000000..aaad9c4 --- /dev/null +++ b/boost/predef/compiler/digitalmars.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/dignus.hpp b/boost/predef/compiler/dignus.hpp new file mode 100644 index 0000000..8f895b6 --- /dev/null +++ b/boost/predef/compiler/dignus.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/edg.hpp b/boost/predef/compiler/edg.hpp new file mode 100644 index 0000000..443d739 --- /dev/null +++ b/boost/predef/compiler/edg.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/ekopath.hpp b/boost/predef/compiler/ekopath.hpp new file mode 100644 index 0000000..51da1e4 --- /dev/null +++ b/boost/predef/compiler/ekopath.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/gcc.hpp b/boost/predef/compiler/gcc.hpp new file mode 100644 index 0000000..55f4e77 --- /dev/null +++ b/boost/predef/compiler/gcc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/gcc_xml.hpp b/boost/predef/compiler/gcc_xml.hpp new file mode 100644 index 0000000..a79bd4b --- /dev/null +++ b/boost/predef/compiler/gcc_xml.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/greenhills.hpp b/boost/predef/compiler/greenhills.hpp new file mode 100644 index 0000000..3ca415c --- /dev/null +++ b/boost/predef/compiler/greenhills.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/hp_acc.hpp b/boost/predef/compiler/hp_acc.hpp new file mode 100644 index 0000000..fc5b78c --- /dev/null +++ b/boost/predef/compiler/hp_acc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/iar.hpp b/boost/predef/compiler/iar.hpp new file mode 100644 index 0000000..10639c4 --- /dev/null +++ b/boost/predef/compiler/iar.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/ibm.hpp b/boost/predef/compiler/ibm.hpp new file mode 100644 index 0000000..7c60383 --- /dev/null +++ b/boost/predef/compiler/ibm.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/intel.hpp b/boost/predef/compiler/intel.hpp new file mode 100644 index 0000000..5a78ff2 --- /dev/null +++ b/boost/predef/compiler/intel.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/kai.hpp b/boost/predef/compiler/kai.hpp new file mode 100644 index 0000000..bf2a0dc --- /dev/null +++ b/boost/predef/compiler/kai.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/llvm.hpp b/boost/predef/compiler/llvm.hpp new file mode 100644 index 0000000..970a254 --- /dev/null +++ b/boost/predef/compiler/llvm.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/metaware.hpp b/boost/predef/compiler/metaware.hpp new file mode 100644 index 0000000..7f0fd15 --- /dev/null +++ b/boost/predef/compiler/metaware.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/metrowerks.hpp b/boost/predef/compiler/metrowerks.hpp new file mode 100644 index 0000000..572fa3e --- /dev/null +++ b/boost/predef/compiler/metrowerks.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/microtec.hpp b/boost/predef/compiler/microtec.hpp new file mode 100644 index 0000000..a72d6df --- /dev/null +++ b/boost/predef/compiler/microtec.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/mingw.hpp b/boost/predef/compiler/mingw.hpp new file mode 100644 index 0000000..3c2d396 --- /dev/null +++ b/boost/predef/compiler/mingw.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/mpw.hpp b/boost/predef/compiler/mpw.hpp new file mode 100644 index 0000000..a34f012 --- /dev/null +++ b/boost/predef/compiler/mpw.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/palm.hpp b/boost/predef/compiler/palm.hpp new file mode 100644 index 0000000..7d0ff1d --- /dev/null +++ b/boost/predef/compiler/palm.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/pgi.hpp b/boost/predef/compiler/pgi.hpp new file mode 100644 index 0000000..f4a638d --- /dev/null +++ b/boost/predef/compiler/pgi.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/sgi_mipspro.hpp b/boost/predef/compiler/sgi_mipspro.hpp new file mode 100644 index 0000000..85ad479 --- /dev/null +++ b/boost/predef/compiler/sgi_mipspro.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/sunpro.hpp b/boost/predef/compiler/sunpro.hpp new file mode 100644 index 0000000..3009221 --- /dev/null +++ b/boost/predef/compiler/sunpro.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/tendra.hpp b/boost/predef/compiler/tendra.hpp new file mode 100644 index 0000000..a27415d --- /dev/null +++ b/boost/predef/compiler/tendra.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/visualc.hpp b/boost/predef/compiler/visualc.hpp new file mode 100644 index 0000000..f1bc8d5 --- /dev/null +++ b/boost/predef/compiler/visualc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/compiler/watcom.hpp b/boost/predef/compiler/watcom.hpp new file mode 100644 index 0000000..8ccaa55 --- /dev/null +++ b/boost/predef/compiler/watcom.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/detail/vrp.hpp b/boost/predef/detail/vrp.hpp new file mode 100644 index 0000000..14a8ee0 --- /dev/null +++ b/boost/predef/detail/vrp.hpp @@ -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 diff --git a/boost/predef/library.hpp b/boost/predef/library.hpp new file mode 100644 index 0000000..ab3bbc3 --- /dev/null +++ b/boost/predef/library.hpp @@ -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 +#include + +#endif diff --git a/boost/predef/library/c.hpp b/boost/predef/library/c.hpp new file mode 100644 index 0000000..edeb0bc --- /dev/null +++ b/boost/predef/library/c.hpp @@ -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 + +#include +#include +#include +#include + +#endif diff --git a/boost/predef/library/c/gnu.hpp b/boost/predef/library/c/gnu.hpp new file mode 100644 index 0000000..76bc4b9 --- /dev/null +++ b/boost/predef/library/c/gnu.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/c/uc.hpp b/boost/predef/library/c/uc.hpp new file mode 100644 index 0000000..b8cd0b5 --- /dev/null +++ b/boost/predef/library/c/uc.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/c/vms.hpp b/boost/predef/library/c/vms.hpp new file mode 100644 index 0000000..dcd48b3 --- /dev/null +++ b/boost/predef/library/c/vms.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/c/zos.hpp b/boost/predef/library/c/zos.hpp new file mode 100644 index 0000000..3bf4396 --- /dev/null +++ b/boost/predef/library/c/zos.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std.hpp b/boost/predef/library/std.hpp new file mode 100644 index 0000000..2964f60 --- /dev/null +++ b/boost/predef/library/std.hpp @@ -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 . Boost uses but as far +// as I can tell (RR) it's not a standalone header in most +// implementations. Using 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 + +// 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 + +// The rest in apha order, except for Dinkumware. +#include +#include +#include +#include +#include +#include +#include + +// Dinkumware Library (this has to appear after any possible replacement libraries): +#include + +#endif diff --git a/boost/predef/library/std/dinkumware.hpp b/boost/predef/library/std/dinkumware.hpp new file mode 100644 index 0000000..8daed8f --- /dev/null +++ b/boost/predef/library/std/dinkumware.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/libcomo.hpp b/boost/predef/library/std/libcomo.hpp new file mode 100644 index 0000000..95d6ebb --- /dev/null +++ b/boost/predef/library/std/libcomo.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/modena.hpp b/boost/predef/library/std/modena.hpp new file mode 100644 index 0000000..045cfd9 --- /dev/null +++ b/boost/predef/library/std/modena.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/msl.hpp b/boost/predef/library/std/msl.hpp new file mode 100644 index 0000000..5c87f85 --- /dev/null +++ b/boost/predef/library/std/msl.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/roguewave.hpp b/boost/predef/library/std/roguewave.hpp new file mode 100644 index 0000000..77cd30a --- /dev/null +++ b/boost/predef/library/std/roguewave.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/sgi.hpp b/boost/predef/library/std/sgi.hpp new file mode 100644 index 0000000..203b596 --- /dev/null +++ b/boost/predef/library/std/sgi.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/stdcpp3.hpp b/boost/predef/library/std/stdcpp3.hpp new file mode 100644 index 0000000..f649a84 --- /dev/null +++ b/boost/predef/library/std/stdcpp3.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/stlport.hpp b/boost/predef/library/std/stlport.hpp new file mode 100644 index 0000000..e61cc58 --- /dev/null +++ b/boost/predef/library/std/stlport.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/library/std/vacpp.hpp b/boost/predef/library/std/vacpp.hpp new file mode 100644 index 0000000..9a20971 --- /dev/null +++ b/boost/predef/library/std/vacpp.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os.hpp b/boost/predef/os.hpp new file mode 100644 index 0000000..644d0c2 --- /dev/null +++ b/boost/predef/os.hpp @@ -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 +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif diff --git a/boost/predef/os/aix.hpp b/boost/predef/os/aix.hpp new file mode 100644 index 0000000..16d5e2c --- /dev/null +++ b/boost/predef/os/aix.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/amigaos.hpp b/boost/predef/os/amigaos.hpp new file mode 100644 index 0000000..c418cbe --- /dev/null +++ b/boost/predef/os/amigaos.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/beos.hpp b/boost/predef/os/beos.hpp new file mode 100644 index 0000000..2953640 --- /dev/null +++ b/boost/predef/os/beos.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/bsd.hpp b/boost/predef/os/bsd.hpp new file mode 100644 index 0000000..80541e4 --- /dev/null +++ b/boost/predef/os/bsd.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/cygwin.hpp b/boost/predef/os/cygwin.hpp new file mode 100644 index 0000000..fa77ffd --- /dev/null +++ b/boost/predef/os/cygwin.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/hpux.hpp b/boost/predef/os/hpux.hpp new file mode 100644 index 0000000..56c2f60 --- /dev/null +++ b/boost/predef/os/hpux.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/irix.hpp b/boost/predef/os/irix.hpp new file mode 100644 index 0000000..cdd29c3 --- /dev/null +++ b/boost/predef/os/irix.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/linux.hpp b/boost/predef/os/linux.hpp new file mode 100644 index 0000000..e34dd5e --- /dev/null +++ b/boost/predef/os/linux.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/macos.hpp b/boost/predef/os/macos.hpp new file mode 100644 index 0000000..158b3fe --- /dev/null +++ b/boost/predef/os/macos.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/qnxnto.hpp b/boost/predef/os/qnxnto.hpp new file mode 100644 index 0000000..e009195 --- /dev/null +++ b/boost/predef/os/qnxnto.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/solaris.hpp b/boost/predef/os/solaris.hpp new file mode 100644 index 0000000..f1ded61 --- /dev/null +++ b/boost/predef/os/solaris.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/unix.hpp b/boost/predef/os/unix.hpp new file mode 100644 index 0000000..1c88ee5 --- /dev/null +++ b/boost/predef/os/unix.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/os/windows.hpp b/boost/predef/os/windows.hpp new file mode 100644 index 0000000..abdcd5d --- /dev/null +++ b/boost/predef/os/windows.hpp @@ -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 +#include + +#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 diff --git a/boost/predef/version_number.hpp b/boost/predef/version_number.hpp new file mode 100644 index 0000000..5a2abc4 --- /dev/null +++ b/boost/predef/version_number.hpp @@ -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