Last update, for now, of the predefs. They are all now documented and checked against current knowledge of detection.

git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@75949 b8fc166d-592f-0410-95f2-cb63ce0dd405
This commit is contained in:
Rene Rivera committed 2011-12-15 03:48:37 +00:00
1 parent 8bc199d45c
commit 86cc3136ad
61 files changed
+564 -415

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_PREDEF_COMPILER_H
#include <boost/predef/compiler/borland.h>
#include <boost/predef/compiler/clang.h>
#include <boost/predef/compiler/comeau.h>
#include <boost/predef/compiler/compaq.h>
#include <boost/predef/compiler/cygwin.h>
+8 -4
View File
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_BORLAND`]
[@http://en.wikipedia.org/wiki/XXX Borland] compiler.
[@http://en.wikipedia.org/wiki/C_plus_plus_builder Borland C++] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_BORLAND BOOST_VERSION_NUMBER(0,0,0)
#if defined(__BORLANDC__)
#if defined(__BORLANDC__) || defined(__CODEGEARC__)
#undef BOOST_CXX_BORLAND
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__BORLANDC__)
#if defined(__CODEGEARC__)
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__CODEGEARC__)
#else
#define BOOST_CXX_BORLAND BOOST_PREDEF_MAKE_FF_F_F(__BORLANDC__)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_BORLAND,"Borland")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_BORLAND,"Borland C++")
#endif
+31
View File
@@ -0,0 +1,31 @@
/*
Copyright Redshift Software, Inc. 2008-2011
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_CLANG_H
#define BOOST_PREDEF_COMPILER_CLANG_H
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_CXX_CLANG`]
[@http://en.wikipedia.org/wiki/Clang Clang] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_CLANG BOOST_VERSION_NUMBER(0,0,0)
#if defined(__clang__)
#undef BOOST_CXX_CLANG
#define BOOST_CXX_CLANG BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_CLANG,"Clang")
#endif
+7 -3
View File
@@ -16,16 +16,20 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_COMO`]
[@http://en.wikipedia.org/wiki/XXX Comeau] compiler.
[@http://en.wikipedia.org/wiki/Comeau_C/C%2B%2B Comeau C++] compiler.
Version number available as major, minor, and patch.
*/
#if defined(__COMO__)
#undef BOOST_CXX_COMO
#define BOOST_CXX_COMO BOOST_PREDEF_MAKE_F_F_FF(__COMO_VERSION__)
#if defined(__CONO_VERSION__)
#define BOOST_CXX_COMO BOOST_PREDEF_MAKE_F_F_F(__COMO_VERSION__)
#else
#define BOOST_CXX_COMO BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_COMO,"Comeau")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_COMO,"Comeau C++")
#endif
+9 -7
View File
@@ -14,21 +14,23 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_DEC`]
[@http://en.wikipedia.org/wiki/XXX Compaq DEC] compiler.
[@http://www.openvms.compaq.com/openvms/brochures/deccplus/ Compaq C/C++] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(0,0,0)
#if defined(__DECC)
#if defined(__DECC) || defined(__DECCXX)
#undef BOOST_CXX_DEC
#define BOOST_CXX_DEC BOOST_VERSION_NUMBER(\
(__DECC_VER)/10000000,\
(__DECC_VER%10000000)/100000,\
(__DECC_VER%10000))
#if defined(__DECCXX_VER)
#define BOOST_CXX_DEC BOOST_PREDEF_MAKE_NN_NN_0_NN_00(__DECCXX_VER)
#elif defined(__DECC_VER)
#define BOOST_CXX_DEC BOOST_PREDEF_MAKE_NN_NN_0_NN_00(__DECC_VER)
#else
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DEC,"Compaq")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DEC,"Compaq C/C++")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_DIAB`]
[@http://en.wikipedia.org/wiki/XXX Diab] compiler.
[@http://www.windriver.com/products/development_suite/wind_river_compiler/ Diab C/C++] compiler.
Version number available as major, minor, and patch.
*/
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DIAB,"Diab")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_DIAB,"Diab C/C++")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_DMC`]
[@http://en.wikipedia.org/wiki/XXX Digital Mars] compiler.
[@http://en.wikipedia.org/wiki/Digital_Mars Digital Mars] compiler.
Version number available as major, minor, and patch.
*/
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_SYSC`]
[@http://en.wikipedia.org/wiki/XXX Dignus SysC] compiler.
[@http://www.dignus.com/dcxx/ Dignus Systems/C++] compiler.
Version number available as major, minor, and patch.
*/
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SYSC,"SysC")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SYSC,"Dignus Systems/C++")
#endif
+3 -3
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_EDG`]
[@http://en.wikipedia.org/wiki/XXX EDG] compiler.
[@http://en.wikipedia.org/wiki/Edison_Design_Group EDG C++ Frontend] compiler.
Version number available as major, minor, and patch.
*/
@@ -22,10 +22,10 @@ Version number available as major, minor, and patch.
#if defined(__EDG__)
#undef BOOST_CXX_EDG
#define BOOST_CXX_EDG BOOST_PREDEF_MAKE_N_N_N(__EDG_VERSION__)
#define BOOST_CXX_EDG BOOST_PREDEF_MAKE_N_NN(__EDG_VERSION__)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_EDG,"EDG")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_EDG,"EDG C++ Frontend")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_PATH`]
[@http://en.wikipedia.org/wiki/XXX Ekopath] compiler.
[@http://en.wikipedia.org/wiki/PathScale EKOpath] compiler.
Version number available as major, minor, and patch.
*/
@@ -27,6 +27,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PATH,"Ekopath")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PATH,"EKOpath")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_GNUC`]
[@http://en.wikipedia.org/wiki/XXX Gnu C/C++] compiler.
[@http://en.wikipedia.org/wiki/GNU_Compiler_Collection Gnu GCC C/C++] compiler.
Version number available as major, minor, and patch (if available).
*/
@@ -32,6 +32,6 @@ Version number available as major, minor, and patch (if available).
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu C/C++")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GNUC,"Gnu GCC C/C++")
#endif
+8 -4
View File
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_GHS`]
[@http://en.wikipedia.org/wiki/XXX Green Hills] compiler.
[@http://en.wikipedia.org/wiki/Green_Hills_Software Green Hills C/C++] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_GHS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__ghs)
#if defined(__ghs) || defined(__ghs__)
#undef BOOST_CXX_GHS
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__ghs)
#if defined(__GHS_VERSION_NUMBER__)
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__GHS_VERSION_NUMBER__)
#else if defined(__ghs)
#define BOOST_CXX_GHS BOOST_PREDEF_MAKE_N_N_N(__ghs)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GHS,"Green Hills")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_GHS,"Green Hills C/C++")
#endif
+7 -3
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_HPACC`]
[@http://en.wikipedia.org/wiki/XXX HP ACC] compiler.
HP aC++ compiler.
Version number available as major, minor, and patch.
*/
@@ -22,10 +22,14 @@ Version number available as major, minor, and patch.
#if defined(__HP_aCC)
#undef BOOST_CXX_HPACC
#define BOOST_CXX_HPACC BOOST_PREDEF_MAKE_NN_NN_NN(__HP_aCC)
#if (__HP_aCC > 1)
#define BOOST_CXX_HPACC BOOST_PREDEF_MAKE_NN_NN_NN(__HP_aCC)
#else
#define BOOST_CXX_HPACC BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HPACC,"HP ACC")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HPACC,"HP aC++")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_IAR`]
[@http://en.wikipedia.org/wiki/XXX IAR] compiler.
IAR C/C++ compiler.
Version number available as major, minor, and patch.
*/
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IAR,"IAR")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IAR,"IAR C/C++")
#endif
+5 -3
View File
@@ -14,24 +14,26 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_IBM`]
[@http://en.wikipedia.org/wiki/XXX Iternational Business Mchines] compiler.
[@http://en.wikipedia.org/wiki/VisualAge IBM XL C/C++] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_IBM BOOST_VERSION_NUMBER(0,0,0)
#if defined(__IBMCPP__) || defined(__xlC__)
#if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__)
#undef BOOST_CXX_IBM
#if defined(__COMPILER_VER__)
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_F_FF_FFFF(__COMPILER_VER__)
#elif defined(__xlC__)
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_FF_FF(__xlC__)
#elif defined(__xlc__)
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_FF_FF(__xlc__)
#else
#define BOOST_CXX_IBM BOOST_PREDEF_MAKE_N_N_N(__IBMCPP__)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_IBM,"IBM XL C/C++")
#endif
+7 -3
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_INTEL`]
[@http://en.wikipedia.org/wiki/XXX Intel] compiler.
[@http://en.wikipedia.org/wiki/Intel_C%2B%2B Intel C/C++] compiler.
Version number available as major, minor, and patch.
*/
@@ -23,10 +23,14 @@ Version number available as major, minor, and patch.
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
defined(__ECC)
#undef BOOST_CXX_INTEL
#define BOOST_CXX_INTEL BOOST_PREDEF_MAKE_N_N_N(__INTEL_COMPILER)
#if defined(__INTEL_COMPILER)
#define BOOST_CXX_INTEL BOOST_PREDEF_MAKE_N_N_N(__INTEL_COMPILER)
#else
#define BOOST_CXX_INTEL BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_INTEL,"Intel")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_INTEL,"Intel C/C++")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_KCC`]
[@http://en.wikipedia.org/wiki/XXX Kai] compiler.
Kai C++ compiler.
Version number available as major, minor, and patch.
*/
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_KCC,"Kai")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_KCC,"Kai C++")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_LLVM`]
[@http://en.wikipedia.org/wiki/XXX LLVM] compiler.
[@http://en.wikipedia.org/wiki/LLVM LLVM] compiler.
*/
#define BOOST_CXX_LLVM BOOST_VERSION_NUMBER(0,0,0)
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_HIGHC`]
[@http://en.wikipedia.org/wiki/XXX Metaware HighC] compiler.
MetaWare High C/C++ compiler.
*/
#define BOOST_CXX_HIGHC BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HIGHC,"Metaware HighC")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_HIGHC,"MetaWare High C/C++")
#endif
+14 -10
View File
@@ -14,26 +14,30 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_MWERKS`]
[@http://en.wikipedia.org/wiki/XXX Metrowerks] compiler.
[@http://en.wikipedia.org/wiki/CodeWarrior Metrowerks CodeWarrior] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MWERKS__)
#if defined(__MWERKS__) || defined(__CWCC__)
#undef BOOST_CXX_MWERKS
#if (__MWERKS__ >= 0x3000) && (__MWERKS__ < 0x3200)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
#elif (__MWERKS__ >= 0x3200) && (__MWERKS__ <= 0x3202)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
#elif (__MWERKS__ >= 0x3204) && (__MWERKS__ < 0x3300) // note the "skip": 04->9.3
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
#else
#if defined(__CWCC__)
#define BOOST_CXX_MWERKS BOOST_PREDEF_MAKE_F_F_FF(__CWCC__)
#elif (__MWERKS__ >= 0x4200)
#define BOOST_CXX_MWERKS BOOST_PREDEF_MAKE_F_F_FF(__MWERKS__)
#elif (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0)
#elif (__MWERKS__ >= 0x3200)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0)
#elif (__MWERKS__ >= 0x3000)
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0)
#else
#define BOOST_CXX_MWERKS BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MWERKS,"Metrowerks")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MWERKS,"Metrowerks CodeWarrior")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_MRI`]
[@http://en.wikipedia.org/wiki/XXX Microtec] compiler.
[@http://www.mentor.com/microtec/ Microtec C/C++] compiler.
*/
#define BOOST_CXX_MRI BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MRI,"Microtec")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MRI,"Microtec C/C++")
#endif
+11 -4
View File
@@ -14,17 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_MINGW`]
[@http://en.wikipedia.org/wiki/XXX MinGW] compiler.
[@http://en.wikipedia.org/wiki/MinGW MinGW] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MINGW32__)
#if defined(__MINGW32__) || defined(__MINGW64__)
#include <_mingw.h>
#undef BOOST_CXX_MINGW
#define BOOST_CXX_MINGW \
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
#if defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR)
#define BOOST_CXX_MINGW \
BOOST_VERSION_NUMBER(__MINGW64_VERSION_MAJOR,__MINGW64_VERSION_MINOR,0)
#elif defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR)
#define BOOST_CXX_MINGW \
BOOST_VERSION_NUMBER(__MINGW32_MAJOR_VERSION,__MINGW32_MINOR_VERSION,0)
#else
#define BOOST_CXX_MINGW BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
+8 -4
View File
@@ -14,18 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_MPW`]
[@http://en.wikipedia.org/wiki/XXX MPW] compiler.
[@http://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop MPW C++] compiler.
Version number available as major, and minor.
*/
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,0)
#if defined(__MRC__)
#if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
#undef BOOST_CXX_MPW
#define BOOST_CXX_MPW BOOST_PREDEF_MAKE_FF_FF(__MRC__)
#if defined(__MRC__)
#define BOOST_CXX_MPW BOOST_PREDEF_MAKE_FF_FF(__MRC__)
#else
#define BOOST_CXX_MPW BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MPW,"MPW")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_MPW,"MPW C++")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_PALM`]
[@http://en.wikipedia.org/wiki/XXX Palm] compiler.
Palm C/C++ compiler.
Version number available as major, minor, and patch.
*/
@@ -26,6 +26,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PALM,"Palm")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PALM,"Palm C/C++")
#endif
+7 -3
View File
@@ -14,17 +14,21 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_PGI`]
[@http://en.wikipedia.org/wiki/XXX PGI] compiler.
[@http://en.wikipedia.org/wiki/The_Portland_Group Portland Group C/C++] compiler.
*/
#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)
#if defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__)
#else
#define BOOST_CXX_PGI BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PGI,"PGI")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_PGI,"Portland Group C/C++")
#endif
+6 -4
View File
@@ -14,22 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_SGI`]
[@http://en.wikipedia.org/wiki/XXX SGI Mips-pro] compiler.
[@http://en.wikipedia.org/wiki/MIPSpro SGI MIPSpro] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,0)
#if defined(__sgi)
#if defined(__sgi) || defined(sgi)
#undef BOOST_CXX_SGI
#if defined(_SGI_COMPILER_VERSION)
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_SGI_COMPILER_VERSION)
#else
#elif defined(_COMPILER_VERSION)
#define BOOST_CXX_SGI BOOST_PREDEF_MAKE_N_N_N(_COMPILER_VERSION)
#else
#define BOOST_CXX_SGI BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI Mips-pro")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SGI,"SGI MIPSpro")
#endif
+10 -4
View File
@@ -14,18 +14,24 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_SUNPRO`]
[@http://en.wikipedia.org/wiki/XXX Sun Pro] compiler.
[@http://en.wikipedia.org/wiki/Sun_Studio_%28software%29 Sun Studio] compiler.
Version number available as major, minor, and patch.
*/
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,0)
#if defined(__SUNPRO_CC)
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
#undef BOOST_CXX_SUNPRO
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_CC)
#if defined(__SUNPRO_CC)
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_CC)
#elif defined(__SUNPRO_C)
#define BOOST_CXX_SUNPRO BOOST_PREDEF_MAKE_F_F_F(__SUNPRO_C)
#else
#define BOOST_CXX_SUNPRO BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Pro")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_SUNPRO,"Sun Studio")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_TENDRA`]
[@http://en.wikipedia.org/wiki/XXX Tendra] compiler.
[@http://en.wikipedia.org/wiki/TenDRA_Compiler TenDRA C/C++] compiler.
*/
#define BOOST_CXX_TENDRA BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_TENDRA,"Tendra")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_TENDRA,"TenDRA C/C++")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_MSVC`]
[@http://en.wikipedia.org/wiki/XXX Microsoft Visual C/C++] compiler.
[@http://en.wikipedia.org/wiki/Visual_studio Microsoft Visual C/C++] compiler.
Version number available as major, minor, and patch.
*/
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_CXX_WATCOM`]
[@http://en.wikipedia.org/wiki/XXX Watcom] compiler.
[@http://en.wikipedia.org/wiki/Watcom Watcom C++] compiler.
Version number available as major, and minor.
*/
@@ -26,6 +26,6 @@ Version number available as major, and minor.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_WATCOM,"Watcom")
BOOST_PREDEF_DECLARE_TEST(BOOST_CXX_WATCOM,"Watcom C++")
#endif
+1 -1
View File
@@ -27,6 +27,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBC_UC,"uC")
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBC_UC,"uClibc")
#endif
+1 -4
View File
@@ -22,10 +22,7 @@ Version number available as major, minor, and patch.
#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)
#define BOOST_LIBC_VMS BOOST_PREDEF_MAKE_NN_NN_0_NN_00(__CRTL_VER)
#endif
#include <boost/predef/detail/test.h>
+1 -1
View File
@@ -22,7 +22,7 @@ If available version number as major, minor, and patch.
#if defined(_LIBCPP_VERSION)
#undef BOOST_LIBSTD_CXX
#define BOOST_LIBSTD_CXX BOOST_PREDEF_MAKE_NN_NN(__CPPLIB_VER)
#define BOOST_LIBSTD_CXX BOOST_PREDEF_MAKE_N__NNN(_LIBCPP_VERSION)
#endif
#include <boost/predef/detail/test.h>
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LIBSTD_RW`]
[@http://en.wikipedia.org/wiki/XXX Roguewave Standard C++] library.
[@http://stdcxx.apache.org/ Roguewave] Standard C++ library.
If available version number as major, minor, and patch.
*/
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LIBSTD_SGI`]
[@http://en.wikipedia.org/wiki/XXX SGI Standard C++] library.
[@http://www.sgi.com/tech/stl/ SGI] Standard C++ library.
If available version number as major, minor, and patch.
*/
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LIBSTD_STLPORT`]
[@http://en.wikipedia.org/wiki/XXX STLport Standard C++] library.
[@http://sourceforge.net/projects/stlport/ STLport Standard C++] library.
Version number available as major, minor, and patch.
*/
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_LIBSTD_IBM`]
[@http://en.wikipedia.org/wiki/XXX IBM VACPP Standard C++] library.
[@http://www.ibm.com/software/awdtools/xlcpp/ IBM VACPP Standard C++] library.
*/
#define BOOST_LIBSTD_IBM BOOST_VERSION_NUMBER(0,0,0)
+23 -15
View File
@@ -48,25 +48,33 @@ number. Where "`N`" indicates a decimal digit, "`_`"
separates the major/minor/patch parts of the version number,
and "`0`" indicates an ignored decimal digit. Macros are:
*/
/*` `BOOST_PREDEF_MAKE_N__NNN(V)` */
#define BOOST_PREDEF_MAKE_N__NNN(V) BOOST_VERSION_NUMBER(((V)/1000)%10,0,(V)%1000)
/*` `BOOST_PREDEF_MAKE_N_N_N(V)` */
#define BOOST_PREDEF_MAKE_N_N_N(V) BOOST_VERSION_NUMBER((V)/100,(V%100)/10,(V%10))
/*` `BOOST_PREDEF_MAKE_NN_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_NN(V) BOOST_VERSION_NUMBER((V)/10000,(V%10000)/100,(V%100))
/*` `BOOST_PREDEF_MAKE_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_NN_NN(V) BOOST_VERSION_NUMBER((V%10000)/100,(V%100),0)
/*` `BOOST_PREDEF_MAKE_N_N_NN(V)` */
#define BOOST_PREDEF_MAKE_N_N_NN(V) BOOST_VERSION_NUMBER((V)/1000,(V%1000)/100,(V%100))
/*` `BOOST_PREDEF_MAKE_N_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_N_NN_NN(V) BOOST_VERSION_NUMBER((V)/10000,(V%10000)/100,(V%100))
#define BOOST_PREDEF_MAKE_N_N_N(V) BOOST_VERSION_NUMBER(((V)/100)%10,((V)/10)%10,(V)%10)
/*` `BOOST_PREDEF_MAKE_N_N_N_000(V)` */
#define BOOST_PREDEF_MAKE_N_N_N_000(V) BOOST_VERSION_NUMBER((V%1000000)/100000,(V%100000)/10000,(V%10000)/1000)
#define BOOST_PREDEF_MAKE_N_N_N_000(V) BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/10000)%10,((V)/1000)%10)
/*` `BOOST_PREDEF_MAKE_N_N_NN(V)` */
#define BOOST_PREDEF_MAKE_N_N_NN(V) BOOST_VERSION_NUMBER(((V)/1000)%10,((V)/100)%10,(V)%100)
/*` `BOOST_PREDEF_MAKE_N_NN(V)` */
#define BOOST_PREDEF_MAKE_N_NN(V) BOOST_VERSION_NUMBER(((V)/100)%10,(V)%100,0)
/*` `BOOST_PREDEF_MAKE_N_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_N_NN_NN(V) BOOST_VERSION_NUMBER(((V)/10000)%10,((V)/100)%100,(V)%100)
/*` `BOOST_PREDEF_MAKE_N_NN_000(V)` */
#define BOOST_PREDEF_MAKE_N_NN_000(V) BOOST_VERSION_NUMBER((V%1000000)/100000,(V%100000)/1000,0)
/*` `BOOST_PREDEF_MAKE_NN_NN_00_NN_00(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_00_NN_00(V) BOOST_VERSION_NUMBER((V)/100000000,(V%100000000)/1000000,(V%10000)/100)
#define BOOST_PREDEF_MAKE_N_NN_000(V) BOOST_VERSION_NUMBER(((V)/100000)%10,((V)/1000)%100,0)
/*` `BOOST_PREDEF_MAKE_NN_00(V)` */
#define BOOST_PREDEF_MAKE_NN_00(V) BOOST_VERSION_NUMBER((V)/100,0,0)
#define BOOST_PREDEF_MAKE_NN_00(V) BOOST_VERSION_NUMBER(((V)/100)%100,0,0)
/*` `BOOST_PREDEF_MAKE_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_NN_NN(V) BOOST_VERSION_NUMBER(((V)/100)%100,(V)%100,0)
/*` `BOOST_PREDEF_MAKE_NN_NN_NN(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_NN(V) BOOST_VERSION_NUMBER(((V)/10000)%100,((V)/100)%100,(V)%100)
/*` `BOOST_PREDEF_MAKE_NN_NN_0_NN_00(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_0_NN_00(V) BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,((V)/100)%100)
/*` `BOOST_PREDEF_MAKE_NN_NN_0_NNNN(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_0_NNNN(V) BOOST_VERSION_NUMBER(((V)/10000000)%100,((V)/100000)%100,(V)%10000)
/*` `BOOST_PREDEF_MAKE_NN_NN_00_NN_00(V)` */
#define BOOST_PREDEF_MAKE_NN_NN_00_NN_00(V) BOOST_VERSION_NUMBER(((V)/100000000)%100,((V)/1000000)%100,((V)/100)%100)
/*` `BOOST_PREDEF_MAKE_YYYY_MM_DD(V)` */
#define BOOST_PREDEF_MAKE_YYYY_MM_DD(V) BOOST_VERSION_NUMBER((V)/10000-1970,(V%10000)/100,(V%100))
#define BOOST_PREDEF_MAKE_YYYY_MM_DD(V) BOOST_VERSION_NUMBER(((V)/10000)%10000-1970,((V)/100)%100,(V)%100)
#endif
+2
View File
@@ -17,9 +17,11 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/os/irix.h>
#include <boost/predef/os/linux.h>
#include <boost/predef/os/macos.h>
#include <boost/predef/os/os400.h>
#include <boost/predef/os/qnxnto.h>
#include <boost/predef/os/solaris.h>
#include <boost/predef/os/unix.h>
#include <boost/predef/os/vms.h>
#include <boost/predef/os/windows.h>
#endif
+3 -3
View File
@@ -12,9 +12,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_`]
[heading `BOOST_OS_AIX`]
[@http://en.wikipedia.org/wiki/XXX AIX] operating system.
[@http://en.wikipedia.org/wiki/AIX_operating_system IBM AIX] operating system.
Version number available as major, minor, and patch.
*/
@@ -36,6 +36,6 @@ Version number available as major, minor, and patch.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AIX,"AIX")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_AIX,"IBM AIX")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_AMIGAOS`]
[@http://en.wikipedia.org/wiki/XXX AmigaOS] operating system.
[@http://en.wikipedia.org/wiki/AmigaOS AmigaOS] operating system.
*/
#define BOOST_OS_AMIGAOS BOOST_VERSION_NUMBER(0,0,0)
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_BEOS`]
[@http://en.wikipedia.org/wiki/XXX Be] operating system.
[@http://en.wikipedia.org/wiki/BeOS BeOS] operating system.
*/
#define BOOST_OS_BEOS BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BEOS,"Be OS")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BEOS,"BeOS")
#endif
+11 -10
View File
@@ -14,17 +14,17 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_BSD`]
[@http://en.wikipedia.org/wiki/XXX BSD] operating system.
[@http://en.wikipedia.org/wiki/Berkeley_Software_Distribution BSD] operating system.
BSD has various branch operating systems possible and each detected
individually. This detects the following variations and sets a specific
version number macro to match:
* `BOOST_OS_DRAGONFLY_BSD` [@http://en.wikipedia.org/wiki/XXX Dragonfly BSD]
* `BOOST_OS_FREE_BSD` [@http://en.wikipedia.org/wiki/XXX Free BSD]
* `BOOST_OS_BSDI_BSD` [@http://en.wikipedia.org/wiki/XXX BSDI]
* `BOOST_OS_NET_BSD` [@http://en.wikipedia.org/wiki/XXX Net BSD]
* `BOOST_OS_OPEN_BSD` [@http://en.wikipedia.org/wiki/XXX Open BSD]
* `BOOST_OS_DRAGONFLY_BSD` [@http://en.wikipedia.org/wiki/DragonFly_BSD DragonFly BSD]
* `BOOST_OS_FREE_BSD` [@http://en.wikipedia.org/wiki/Freebsd FreeBSD]
* `BOOST_OS_BSDI_BSD` [@http://en.wikipedia.org/wiki/BSD/OS BSDi BSD/OS]
* `BOOST_OS_NET_BSD` [@http://en.wikipedia.org/wiki/Netbsd NetBSD]
* `BOOST_OS_OPEN_BSD` [@http://en.wikipedia.org/wiki/Openbsd OpenBSD]
[note The general `BOOST_OS_BSD` is set in all cases to indicate some form
of BSD. If the above variants is detected the corresponding macro is also set.]
@@ -47,6 +47,7 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
#undef BOOST_OS_FREE_BSD
#undef BOOST_OS_NET_BSD
#undef BOOST_OS_OPEN_BSD
#include <sys/param.h>
#if defined(BSD4_2)
#define BOOST_OS_BSD BOOST_VERSION_NUMBER(4,2,0)
#elif defined(BSD4_3)
@@ -148,10 +149,10 @@ of BSD. If the above variants is detected the corresponding macro is also set.]
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSD,"BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_DRAGONFLY_BSD,"Dragonfly BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_DRAGONFLY_BSD,"DragonFly BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_FREE_BSD,"Free BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSDI_BSD,"BSDI BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_NET_BSD,"Net BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_OPEN_BSD,"Open BSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_BSDI_BSD,"BSDi BSD/OS")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_NET_BSD,"NetBSD")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_OPEN_BSD,"OpenBSD")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_CYGWIN`]
[@http://en.wikipedia.org/wiki/XXX Cygwin] operating system.
[@http://en.wikipedia.org/wiki/Cygwin Cygwin] evironment.
*/
#define BOOST_OS_CYGWIN BOOST_VERSION_NUMBER(0,0,0)
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_HPUX`]
[@http://en.wikipedia.org/wiki/XXX HP-UX] operating system.
[@http://en.wikipedia.org/wiki/HP-UX HP-UX] operating system.
*/
#define BOOST_OS_HPUX BOOST_VERSION_NUMBER(0,0,0)
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_IRIX`]
[@http://en.wikipedia.org/wiki/XXX Irix] operating system.
[@http://en.wikipedia.org/wiki/Irix IRIX] operating system.
*/
#define BOOST_OS_IRIX BOOST_VERSION_NUMBER(0,0,0)
@@ -25,6 +25,6 @@ http://www.boost.org/LICENSE_1_0.txt)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IRIX,"Irix")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_IRIX,"IRIX")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_LINUX`]
[@http://en.wikipedia.org/wiki/XXX Linux] operating system.
[@http://en.wikipedia.org/wiki/Linux Linux] operating system.
*/
#define BOOST_OS_LINUX BOOST_VERSION_NUMBER(0,0,0)
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_MACOS`]
[@http://en.wikipedia.org/wiki/XXX MacOS] operating system.
[@http://en.wikipedia.org/wiki/Mac_OS Mac OS] operating system.
Versions \[9-10\] are specifically detected.
*/
@@ -31,6 +31,6 @@ Versions \[9-10\] are specifically detected.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,"MacOS")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_MACOS,"Mac OS")
#endif
+30
View File
@@ -0,0 +1,30 @@
/*
Copyright Redshift Software Inc 2011
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_OS400_H
#define BOOST_PREDEF_OS_OS400_H
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_OS400`]
[@http://en.wikipedia.org/wiki/IBM_i IBM OS/400] operating system.
*/
#define BOOST_OS_OS400 BOOST_VERSION_NUMBER(0,0,0)
#if defined(__OS400__)
#undef BOOST_OS_OS400
#define BOOST_OS_OS400 BOOST_VERSION_NUMBER(0,0,1)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_OS400,"IBM OS/400")
#endif
+2 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_QNX`]
[@http://en.wikipedia.org/wiki/XXX QNX-NTO] operating system.
[@http://en.wikipedia.org/wiki/QNX QNX] operating system.
Version number available as major, and minor if possible. And
version 4 is specifically detected.
*/
@@ -33,6 +33,6 @@ version 4 is specifically detected.
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_QNX,"QNX-NTO")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_QNX,"QNX")
#endif
+1 -1
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_SOLARIS`]
[@http://en.wikipedia.org/wiki/XXX Solaris] operating system.
[@http://en.wikipedia.org/wiki/Solaris_Operating_Environment Solaris] operating system.
*/
#define BOOST_OS_SOLARIS BOOST_VERSION_NUMBER(0,0,0)
+17 -2
View File
@@ -14,7 +14,7 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_UNIX`]
[@http://en.wikipedia.org/wiki/XXX Unix] operating system.
[@http://en.wikipedia.org/wiki/Unix Unix Environment] operating system.
*/
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,0)
@@ -25,7 +25,22 @@ http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_OS_UNIX BOOST_VERSION_NUMBER(0,0,1)
#endif
/*`
[heading `BOOST_OS_SVR4`]
[@http://en.wikipedia.org/wiki/UNIX_System_V SVR4 Environment] operating system.
*/
#define BOOST_OS_SVR4 BOOST_VERSION_NUMBER(0,0,0)
#if defined(__sysv__) || defined(__SVR4) || \
defined(__svr4__) || defined(_SYSTYPE_SVR4)
#undef BOOST_OS_SVR4
#define BOOST_OS_SVR4 BOOST_VERSION_NUMBER(0,0,1)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_UNIX,"Unix")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_UNIX,"Unix ENvironment")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_SVR4,"SVR4 Environment")
#endif
+35
View File
@@ -0,0 +1,35 @@
/*
Copyright Redshift Software Inc 2011
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_VMS_H
#define BOOST_PREDEF_OS_VMS_H
#include <boost/predef/version_number.h>
#include <boost/predef/make.h>
/*`
[heading `BOOST_OS_VMS`]
[@http://en.wikipedia.org/wiki/Vms VMS] operating system.
Version number available as major, minor, and patch.
*/
#define BOOST_OS_VMS BOOST_VERSION_NUMBER(0,0,0)
#if defined(VMS) || defined(__VMS)
#undef BOOST_OS_VMS
#if defined(__VMS_VER)
#define BOOST_OS_VMS BOOST_PREDEF_MAKE_NN_NN_00_NN_00(__VMS_VER)
#else
#define BOOST_OS_VMS BOOST_VERSION_NUMBER(0,0,1)
#endif
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_VMS,"VMS")
#endif
+4 -3
View File
@@ -14,18 +14,19 @@ http://www.boost.org/LICENSE_1_0.txt)
/*`
[heading `BOOST_OS_WINDOWS`]
[@http://en.wikipedia.org/wiki/XXX Microsoft Windows] operating system.
[@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
*/
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,0)
#if defined(_WIN32) || defined(_WIN64) || \
defined(__WIN32__) || defined(__TOS_WIN__)
defined(__WIN32__) || defined(__TOS_WIN__) || \
defined(__WINDOWS__)
#undef BOOST_OS_WINDOWS
#define BOOST_OS_WINDOWS BOOST_VERSION_NUMBER(0,0,1)
#endif
#include <boost/predef/detail/test.h>
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,"Windows")
BOOST_PREDEF_DECLARE_TEST(BOOST_OS_WINDOWS,"Microsoft Windows")
#endif