From a3a555610cd6de6f2fa26195fae95f2bdb703f8a Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Thu, 16 Jan 2014 15:50:19 -0600 Subject: [PATCH] Initial implementation of exclusive definition of compiler detection with emulated definitions. --- include/boost/predef/compiler/borland.h | 25 +++++++++---- include/boost/predef/compiler/clang.h | 19 ++++++++-- include/boost/predef/compiler/comeau.h | 25 +++++++++---- include/boost/predef/compiler/compaq.h | 29 ++++++++++----- include/boost/predef/compiler/diab.h | 19 ++++++++-- include/boost/predef/compiler/digitalmars.h | 19 ++++++++-- include/boost/predef/compiler/dignus.h | 19 ++++++++-- include/boost/predef/compiler/edg.h | 19 ++++++++-- include/boost/predef/compiler/ekopath.h | 19 ++++++++-- include/boost/predef/compiler/gcc.h | 29 +++++++++++---- include/boost/predef/compiler/gcc_xml.h | 19 ++++++++-- include/boost/predef/compiler/greenhills.h | 29 ++++++++++----- include/boost/predef/compiler/hp_acc.h | 25 +++++++++---- include/boost/predef/compiler/iar.h | 19 ++++++++-- include/boost/predef/compiler/ibm.h | 33 +++++++++++------ include/boost/predef/compiler/intel.h | 25 +++++++++---- include/boost/predef/compiler/kai.h | 19 ++++++++-- include/boost/predef/compiler/llvm.h | 23 ++++++++++-- include/boost/predef/compiler/metaware.h | 19 ++++++++-- include/boost/predef/compiler/metrowerks.h | 41 +++++++++++++-------- include/boost/predef/compiler/microtec.h | 19 ++++++++-- include/boost/predef/compiler/mpw.h | 25 +++++++++---- include/boost/predef/compiler/palm.h | 19 ++++++++-- include/boost/predef/compiler/pgi.h | 25 +++++++++---- include/boost/predef/compiler/sgi_mipspro.h | 29 ++++++++++----- include/boost/predef/compiler/sunpro.h | 29 ++++++++++----- include/boost/predef/compiler/tendra.h | 19 ++++++++-- include/boost/predef/compiler/visualc.h | 23 ++++++++++-- include/boost/predef/compiler/watcom.h | 19 ++++++++-- include/boost/predef/detail/comp_detected.h | 10 +++++ 30 files changed, 516 insertions(+), 175 deletions(-) create mode 100644 include/boost/predef/detail/comp_detected.h diff --git a/include/boost/predef/compiler/borland.h b/include/boost/predef/compiler/borland.h index 436b268..01b5de7 100644 --- a/include/boost/predef/compiler/borland.h +++ b/include/boost/predef/compiler/borland.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,17 +31,23 @@ Version number available as major, minor, and patch. #define BOOST_COMP_BORLAND BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__BORLANDC__) || defined(__CODEGEARC__) -# undef BOOST_COMP_BORLAND -# if !defined(BOOST_COMP_BORLAND) && (defined(__CODEGEARC__)) -# define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__) +# if !defined(BOOST_COMP_BORLAND_DETECTION) && (defined(__CODEGEARC__)) +# define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__CODEGEARC__) # endif -# if !defined(BOOST_COMP_BORLAND) -# define BOOST_COMP_BORLAND BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__) +# if !defined(BOOST_COMP_BORLAND_DETECTION) +# define BOOST_COMP_BORLAND_DETECTION BOOST_PREDEF_MAKE_0X_VVRP(__BORLANDC__) # endif #endif -#if BOOST_COMP_BORLAND +#ifdef BOOST_COMP_BORLAND_DETECTION # define BOOST_COMP_BORLAND_AVAILABLE +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_BORLAND_EMULATED BOOST_COMP_BORLAND_DETECTION +# else +# undef BOOST_COMP_BORLAND +# define BOOST_COMP_BORLAND BOOST_COMP_BORLAND_DETECTION +# endif +# include #endif #define BOOST_COMP_BORLAND_NAME "Borland C++" @@ -49,5 +55,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND,BOOST_COMP_BORLAND_NAME) +#ifdef BOOST_COMP_BORLAND_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_BORLAND_EMULATED,BOOST_COMP_BORLAND_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/clang.h b/include/boost/predef/compiler/clang.h index d8a3c6a..87dd033 100644 --- a/include/boost/predef/compiler/clang.h +++ b/include/boost/predef/compiler/clang.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_CLANG BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__clang__) -# undef BOOST_COMP_CLANG -# define BOOST_COMP_CLANG BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__) +# define BOOST_COMP_CLANG_DETECTION BOOST_VERSION_NUMBER(__clang_major__,__clang_minor__,__clang_patchlevel__) #endif -#if BOOST_COMP_CLANG +#ifdef BOOST_COMP_CLANG_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_CLANG_EMULATED BOOST_COMP_CLANG_DETECTION +# else +# undef BOOST_COMP_CLANG +# define BOOST_COMP_CLANG BOOST_COMP_CLANG_DETECTION +# endif # define BOOST_COMP_CLANG_AVAILABLE +# include #endif #define BOOST_COMP_CLANG_NAME "Clang" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_CLANG,BOOST_COMP_CLANG_NAME) +#ifdef BOOST_COMP_CLANG_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_CLANG_EMULATED,BOOST_COMP_CLANG_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/comeau.h b/include/boost/predef/compiler/comeau.h index bf5a199..3862184 100644 --- a/include/boost/predef/compiler/comeau.h +++ b/include/boost/predef/compiler/comeau.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,17 +29,23 @@ Version number available as major, minor, and patch. */ #if defined(__COMO__) -# undef BOOST_COMP_COMO -# if !defined(BOOST_COMP_COMO) && defined(__CONO_VERSION__) -# define BOOST_COMP_COMO BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__) +# if !defined(BOOST_COMP_COMO_DETECTION) && defined(__CONO_VERSION__) +# define BOOST_COMP_COMO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__COMO_VERSION__) # endif -# if !defined(BOOST_COMP_COMO) -# define BOOST_COMP_COMO BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_COMO_DETECTION) +# define BOOST_COMP_COMO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_COMO +#ifdef BOOST_COMP_COMO_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_COMO_EMULATED BOOST_COMP_COMO_DETECTION +# else +# undef BOOST_COMP_COMO +# define BOOST_COMP_COMO BOOST_COMP_COMO_DETECTION +# endif # define BOOST_COMP_COMO_AVAILABLE +# include #endif #define BOOST_COMP_COMO_NAME "Comeau C++" @@ -47,5 +53,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO,BOOST_COMP_COMO_NAME) +#ifdef BOOST_COMP_COMO_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_COMO_EMULATED,BOOST_COMP_COMO_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/compaq.h b/include/boost/predef/compiler/compaq.h index dd3ea8f..a922d17 100644 --- a/include/boost/predef/compiler/compaq.h +++ b/include/boost/predef/compiler/compaq.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,20 +31,26 @@ Version number available as major, minor, and patch. #define BOOST_COMP_DEC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__DECC) || defined(__DECCXX) -# undef BOOST_COMP_DEC -# if !defined(BOOST_COMP_DEC) && defined(__DECCXX_VER) -# define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER) +# if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECCXX_VER) +# define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER) # endif -# if !defined(BOOST_COMP_DEC) && defined(__DECC_VER) -# define BOOST_COMP_DEC BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER) +# if !defined(BOOST_COMP_DEC_DETECTION) && defined(__DECC_VER) +# define BOOST_COMP_DEC_DETECTION BOOST_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER) # endif -# if !defined(BOOST_COMP_DEC) -# define BOOST_COM_DEV BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_DEC_DETECTION) +# define BOOST_COM_DEC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_DEC +#ifdef BOOST_COMP_DEC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_DEC_EMULATED BOOST_COMP_DEC_DETECTION +# else +# undef BOOST_COMP_DEC +# define BOOST_COMP_DEC BOOST_COMP_DEC_DETECTION +# endif # define BOOST_COMP_DEC_AVAILABLE +# include #endif #define BOOST_COMP_DEC_NAME "Compaq C/C++" @@ -52,5 +58,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC,BOOST_COMP_DEC_NAME) +#ifdef BOOST_COMP_DEC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DEC_EMULATED,BOOST_COMP_DEC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/diab.h b/include/boost/predef/compiler/diab.h index f30fbfc..2cba03b 100644 --- a/include/boost/predef/compiler/diab.h +++ b/include/boost/predef/compiler/diab.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_DIAB BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__DCC__) -# undef BOOST_COMP_DIAB -# define BOOST_COMP_DIAB BOOST_PREDEF_MAKE_10_VRPP(__VERSION_NUMBER__) +# define BOOST_COMP_DIAB_DETECTION BOOST_PREDEF_MAKE_10_VRPP(__VERSION_NUMBER__) #endif -#if BOOST_COMP_DIAB +#ifdef BOOST_COMP_DIAB_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_DIAB_EMULATED BOOST_COMP_DIAB_DETECTION +# else +# undef BOOST_COMP_DIAB +# define BOOST_COMP_DIAB BOOST_COMP_DIAB_DETECTION +# endif # define BOOST_COMP_DIAB_AVAILABLE +# include #endif #define BOOST_COMP_DIAB_NAME "Diab C/C++" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DIAB,BOOST_COMP_DIAB_NAME) +#ifdef BOOST_COMP_DIAB_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DIAB_EMULATED,BOOST_COMP_DIAB_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/digitalmars.h b/include/boost/predef/compiler/digitalmars.h index 76a9343..2306a7e 100644 --- a/include/boost/predef/compiler/digitalmars.h +++ b/include/boost/predef/compiler/digitalmars.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_DMC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__DMC__) -# undef BOOST_COMP_DMC -# define BOOST_COMP_DMC BOOST_PREDEF_MAKE_0X_VRP(__DMC__) +# define BOOST_COMP_DMC_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__DMC__) #endif -#if BOOST_COMP_DMC +#ifdef BOOST_COMP_DMC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_DMC_EMULATED BOOST_COMP_DMC_DETECTION +# else +# undef BOOST_COMP_DMC +# define BOOST_COMP_DMC BOOST_COMP_DMC_DETECTION +# endif # define BOOST_COMP_DMC_AVAILABLE +# include #endif #define BOOST_COMP_DMC_NAME "Digital Mars" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DMC,BOOST_COMP_DMC_NAME) +#ifdef BOOST_COMP_DMC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_DMC_EMULATED,BOOST_COMP_DMC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/dignus.h b/include/boost/predef/compiler/dignus.h index ba771fe..33c3560 100644 --- a/include/boost/predef/compiler/dignus.h +++ b/include/boost/predef/compiler/dignus.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_SYSC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__SYSC__) -# undef BOOST_COMP_SYSC -# define BOOST_COMP_SYSC BOOST_PREDEF_MAKE_10_VRRPP(__SYSC_VER__) +# define BOOST_COMP_SYSC_DETECTION BOOST_PREDEF_MAKE_10_VRRPP(__SYSC_VER__) #endif -#if BOOST_COMP_SYSC +#ifdef BOOST_COMP_SYSC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_SYSC_EMULATED BOOST_COMP_SYSC_DETECTION +# else +# undef BOOST_COMP_SYSC +# define BOOST_COMP_SYSC BOOST_COMP_SYSC_DETECTION +# endif # define BOOST_COMP_SYSC_AVAILABLE +# include #endif #define BOOST_COMP_SYSC_NAME "Dignus Systems/C++" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SYSC,BOOST_COMP_SYSC_NAME) +#ifdef BOOST_COMP_SYSC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SYSC_EMULATED,BOOST_COMP_SYSC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/edg.h b/include/boost/predef/compiler/edg.h index b0042c0..d53a5ff 100644 --- a/include/boost/predef/compiler/edg.h +++ b/include/boost/predef/compiler/edg.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_EDG BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__EDG__) -# undef BOOST_COMP_EDG -# define BOOST_COMP_EDG BOOST_PREDEF_MAKE_10_VRR(__EDG_VERSION__) +# define BOOST_COMP_EDG_DETECTION BOOST_PREDEF_MAKE_10_VRR(__EDG_VERSION__) #endif -#if BOOST_COMP_EDG +#ifdef BOOST_COMP_EDG_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_EDG_EMULATED BOOST_COMP_EDG_DETECTION +# else +# undef BOOST_COMP_EDG +# define BOOST_COMP_EDG BOOST_COMP_EDG_DETECTION +# endif # define BOOST_COMP_EDG_AVAILABLE +# include #endif #define BOOST_COMP_EDG_NAME "EDG C++ Frontend" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_EDG,BOOST_COMP_EDG_NAME) +#ifdef BOOST_COMP_EDG_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_EDG_EMULATED,BOOST_COMP_EDG_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/ekopath.h b/include/boost/predef/compiler/ekopath.h index f2a9795..4d7dabe 100644 --- a/include/boost/predef/compiler/ekopath.h +++ b/include/boost/predef/compiler/ekopath.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,13 +29,19 @@ Version number available as major, minor, and patch. #define BOOST_COMP_PATH BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__PATHCC__) -# undef BOOST_COMP_PATH -# define BOOST_COMP_PATH \ +# define BOOST_COMP_PATH_DETECTION \ BOOST_VERSION_NUMBER(__PATHCC__,__PATHCC_MINOR__,__PATHCC_PATCHLEVEL__) #endif -#if BOOST_COMP_PATH +#ifdef BOOST_COMP_PATH_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_PATH_EMULATED BOOST_COMP_PATH_DETECTION +# else +# undef BOOST_COMP_PATH +# define BOOST_COMP_PATH BOOST_COMP_PATH_DETECTION +# endif # define BOOST_COMP_PATH_AVAILABLE +# include #endif #define BOOST_COMP_PATH_NAME "EKOpath" @@ -43,5 +49,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH,BOOST_COMP_PATH_NAME) +#ifdef BOOST_COMP_PATH_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PATH_EMULATED,BOOST_COMP_PATH_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/gcc.h b/include/boost/predef/compiler/gcc.h index 93b38dc..5b226bd 100644 --- a/include/boost/predef/compiler/gcc.h +++ b/include/boost/predef/compiler/gcc.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -8,6 +8,10 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_COMPILER_GCC_H #define BOOST_PREDEF_COMPILER_GCC_H +/* Other compilers that emulate this one need to be detected first. */ + +#include + #include #include @@ -30,19 +34,25 @@ Version number available as major, minor, and patch (if available). #define BOOST_COMP_GNUC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__GNUC__) -# undef BOOST_COMP_GNUC -# if !defined(BOOST_COMP_GNUC) && defined(__GNUC_PATCHLEVEL__) -# define BOOST_COMP_GNUC \ +# if !defined(BOOST_COMP_GNUC_DETECTION) && defined(__GNUC_PATCHLEVEL__) +# define BOOST_COMP_GNUC_DETECTION \ BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,__GNUC_PATCHLEVEL__) # endif -# if !defined(BOOST_COMP_GNUC) -# define BOOST_COMP_GNUC \ +# if !defined(BOOST_COMP_GNUC_DETECTION) +# define BOOST_COMP_GNUC_DETECTION \ BOOST_VERSION_NUMBER(__GNUC__,__GNUC_MINOR__,0) # endif #endif -#if BOOST_COMP_GNUC +#ifdef BOOST_COMP_GNUC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_GNUC_EMULATED BOOST_COMP_GNUC_DETECTION +# else +# undef BOOST_COMP_GNUC +# define BOOST_COMP_GNUC BOOST_COMP_GNUC_DETECTION +# endif # define BOOST_COMP_GNUC_AVAILABLE +# include #endif #define BOOST_COMP_GNUC_NAME "Gnu GCC C/C++" @@ -50,5 +60,10 @@ Version number available as major, minor, and patch (if available). #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GNUC,BOOST_COMP_GNUC_NAME) +#ifdef BOOST_COMP_GNUC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GNUC_EMULATED,BOOST_COMP_GNUC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/gcc_xml.h b/include/boost/predef/compiler/gcc_xml.h index 0d7d026..ef55f5d 100644 --- a/include/boost/predef/compiler/gcc_xml.h +++ b/include/boost/predef/compiler/gcc_xml.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -26,12 +26,18 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__GCCXML__) -# undef BOOST_COMP_GCCXML -# define BOOST_COMP_GCCXML BOOST_VERSION_NUMBER_AVAILABLE +# define BOOST_COMP_GCCXML_DETECTION BOOST_VERSION_NUMBER_AVAILABLE #endif -#if BOOST_COMP_GCCXML +#ifdef BOOST_COMP_GCCXML_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_GCCXML_EMULATED BOOST_COMP_GCCXML_DETECTION +# else +# undef BOOST_COMP_GCCXML +# define BOOST_COMP_GCCXML BOOST_COMP_GCCXML_DETECTION +# endif # define BOOST_COMP_GCCXML_AVAILABLE +# include #endif #define BOOST_COMP_GCCXML_NAME "GCC XML" @@ -39,4 +45,9 @@ http://www.boost.org/LICENSE_1_0.txt) #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GCCXML,BOOST_COMP_GCCXML_NAME) +#ifdef BOOST_COMP_GCCXML_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GCCXML_EMULATED,BOOST_COMP_GCCXML_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/greenhills.h b/include/boost/predef/compiler/greenhills.h index d6f5da9..462f57b 100644 --- a/include/boost/predef/compiler/greenhills.h +++ b/include/boost/predef/compiler/greenhills.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,20 +31,26 @@ Version number available as major, minor, and patch. #define BOOST_COMP_GHS BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__ghs) || defined(__ghs__) -# undef BOOST_COMP_GHS -# if !defined(BOOST_COMP_GHS) && defined(__GHS_VERSION_NUMBER__) -# define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__) +# if !defined(BOOST_COMP_GHS_DETECTION) && defined(__GHS_VERSION_NUMBER__) +# define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__) # endif -# if !defined(BOOST_COMP_GHS) && defined(__ghs) -# define BOOST_COMP_GHS BOOST_PREDEF_MAKE_10_VRP(__ghs) +# if !defined(BOOST_COMP_GHS_DETECTION) && defined(__ghs) +# define BOOST_COMP_GHS_DETECTION BOOST_PREDEF_MAKE_10_VRP(__ghs) # endif -# if !defined(BOOST_COMP_GHS) -# define BOOST_COMP_GHS BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_GHS_DETECTION) +# define BOOST_COMP_GHS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_GHS +#ifdef BOOST_COMP_GHS_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_GHS_EMULATED BOOST_COMP_GHS_DETECTION +# else +# undef BOOST_COMP_GHS +# define BOOST_COMP_GHS BOOST_COMP_GHS_DETECTION +# endif # define BOOST_COMP_GHS_AVAILABLE +# include #endif #define BOOST_COMP_GHS_NAME "Green Hills C/C++" @@ -52,5 +58,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS,BOOST_COMP_GHS_NAME) +#ifdef BOOST_COMP_GHS_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_GHS_EMULATED,BOOST_COMP_GHS_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/hp_acc.h b/include/boost/predef/compiler/hp_acc.h index eccac46..8cb7022 100644 --- a/include/boost/predef/compiler/hp_acc.h +++ b/include/boost/predef/compiler/hp_acc.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,17 +29,23 @@ Version number available as major, minor, and patch. #define BOOST_COMP_HPACC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__HP_aCC) -# undef BOOST_COMP_HPACC -# if !defined(BOOST_COMP_HPACC) && (__HP_aCC > 1) -# define BOOST_COMP_HPACC BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC) +# if !defined(BOOST_COMP_HPACC_DETECTION) && (__HP_aCC > 1) +# define BOOST_COMP_HPACC_DETECTION BOOST_PREDEF_MAKE_10_VVRRPP(__HP_aCC) # endif -# if !defined(BOOST_COMP_HPACC) -# define BOOST_COMP_HPACC BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_HPACC_DETECTION) +# define BOOST_COMP_HPACC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_HPACC +#ifdef BOOST_COMP_HPACC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_HPACC_EMULATED BOOST_COMP_HPACC_DETECTION +# else +# undef BOOST_COMP_HPACC +# define BOOST_COMP_HPACC BOOST_COMP_HPACC_DETECTION +# endif # define BOOST_COMP_HPACC_AVAILABLE +# include #endif #define BOOST_COMP_HPACC_NAME "HP aC++" @@ -47,5 +53,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC,BOOST_COMP_HPACC_NAME) +#ifdef BOOST_COMP_HPACC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HPACC_EMULATED,BOOST_COMP_HPACC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/iar.h b/include/boost/predef/compiler/iar.h index cb491db..dd6bc0e 100644 --- a/include/boost/predef/compiler/iar.h +++ b/include/boost/predef/compiler/iar.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_IAR BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__IAR_SYSTEMS_ICC__) -# undef BOOST_COMP_IAR -# define BOOST_COMP_IAR BOOST_PREDEF_MAKE_10_VVRR(__VER__) +# define BOOST_COMP_IAR_DETECTION BOOST_PREDEF_MAKE_10_VVRR(__VER__) #endif -#if BOOST_COMP_IAR +#ifdef BOOST_COMP_IAR_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_IAR_EMULATED BOOST_COMP_IAR_DETECTION +# else +# undef BOOST_COMP_IAR +# define BOOST_COMP_IAR BOOST_COMP_IAR_DETECTION +# endif # define BOOST_COMP_IAR_AVAILABLE +# include #endif #define BOOST_COMP_IAR_NAME "IAR C/C++" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IAR,BOOST_COMP_IAR_NAME) +#ifdef BOOST_COMP_IAR_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IAR_EMULATED,BOOST_COMP_IAR_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/ibm.h b/include/boost/predef/compiler/ibm.h index 46221ee..1edc93c 100644 --- a/include/boost/predef/compiler/ibm.h +++ b/include/boost/predef/compiler/ibm.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -34,23 +34,29 @@ Version number available as major, minor, and patch. #define BOOST_COMP_IBM BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__) -# undef BOOST_COMP_IBM -# if !defined(BOOST_COMP_IBM) && defined(__COMPILER_VER__) -# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__) +# if !defined(BOOST_COMP_IBM_DETECTION) && defined(__COMPILER_VER__) +# define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__) # endif -# if !defined(BOOST_COMP_IBM) && defined(__xlC__) -# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VVRR(__xlC__) +# if !defined(BOOST_COMP_IBM_DETECTION) && defined(__xlC__) +# define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__xlC__) # endif -# if !defined(BOOST_COMP_IBM) && defined(__xlc__) -# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_0X_VVRR(__xlc__) +# if !defined(BOOST_COMP_IBM_DETECTION) && defined(__xlc__) +# define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__xlc__) # endif -# if !defined(BOOST_COMP_IBM) -# define BOOST_COMP_IBM BOOST_PREDEF_MAKE_10_VRP(__IBMCPP__) +# if !defined(BOOST_COMP_IBM_DETECTION) +# define BOOST_COMP_IBM_DETECTION BOOST_PREDEF_MAKE_10_VRP(__IBMCPP__) # endif #endif -#if BOOST_COMP_IBM +#ifdef BOOST_COMP_IBM_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_IBM_EMULATED BOOST_COMP_IBM_DETECTION +# else +# undef BOOST_COMP_IBM +# define BOOST_COMP_IBM BOOST_COMP_IBM_DETECTION +# endif # define BOOST_COMP_IBM_AVAILABLE +# include #endif #define BOOST_COMP_IBM_NAME "IBM XL C/C++" @@ -58,5 +64,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IBM,BOOST_COMP_IBM_NAME) +#ifdef BOOST_COMP_IBM_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_IBM_EMULATED,BOOST_COMP_IBM_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/intel.h b/include/boost/predef/compiler/intel.h index c749716..60220c7 100644 --- a/include/boost/predef/compiler/intel.h +++ b/include/boost/predef/compiler/intel.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -33,17 +33,23 @@ Version number available as major, minor, and patch. #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \ defined(__ECC) -# undef BOOST_COMP_INTEL -# if !defined(BOOST_COMP_INTEL) && defined(__INTEL_COMPILER) -# define BOOST_COMP_INTEL BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER) +# if !defined(BOOST_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER) +# define BOOST_COMP_INTEL_DETECTION BOOST_PREDEF_MAKE_10_VRP(__INTEL_COMPILER) # endif -# if !defined(BOOST_COMP_INTEL) -# define BOOST_COMP_INTEL BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_INTEL_DETECTION) +# define BOOST_COMP_INTEL_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_INTEL +#ifdef BOOST_COMP_INTEL_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_INTEL_EMULATED BOOST_COMP_INTEL_DETECTION +# else +# undef BOOST_COMP_INTEL +# define BOOST_COMP_INTEL BOOST_COMP_INTEL_DETECTION +# endif # define BOOST_COMP_INTEL_AVAILABLE +# include #endif #define BOOST_COMP_INTEL_NAME "Intel C/C++" @@ -51,5 +57,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL,BOOST_COMP_INTEL_NAME) +#ifdef BOOST_COMP_INTEL_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_INTEL_EMULATED,BOOST_COMP_INTEL_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/kai.h b/include/boost/predef/compiler/kai.h index 3dfd2a4..4aadbe3 100644 --- a/include/boost/predef/compiler/kai.h +++ b/include/boost/predef/compiler/kai.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_KCC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__KCC) -# undef BOOST_COMP_KCC -# define BOOST_COMP_KCC BOOST_PREDEF_MAKE_0X_VRPP(__KCC_VERSION) +# define BOOST_COMP_KCC_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__KCC_VERSION) #endif -#if BOOST_COMP_KCC +#ifdef BOOST_COMP_KCC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_KCC_EMULATED BOOST_COMP_KCC_DETECTION +# else +# undef BOOST_COMP_KCC +# define BOOST_COMP_KCC BOOST_COMP_KCC_DETECTION +# endif # define BOOST_COMP_KCC_AVAILABLE +# include #endif #define BOOST_COMP_KCC_NAME "Kai C++" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_KCC,BOOST_COMP_KCC_NAME) +#ifdef BOOST_COMP_KCC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_KCC_EMULATED,BOOST_COMP_KCC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/llvm.h b/include/boost/predef/compiler/llvm.h index 77b20be..c7e634c 100644 --- a/include/boost/predef/compiler/llvm.h +++ b/include/boost/predef/compiler/llvm.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -8,6 +8,10 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_COMPILER_LLVM_H #define BOOST_PREDEF_COMPILER_LLVM_H +/* Other compilers that emulate this one need to be detected first. */ + +#include + #include #include @@ -26,12 +30,18 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__llvm__) -# undef BOOST_COMP_LLVM -# define BOOST_COMP_LLVM BOOST_VERSION_NUMBER_AVAILABLE +# define BOOST_COMP_LLVM_DETECTION BOOST_VERSION_NUMBER_AVAILABLE #endif -#if BOOST_COMP_LLVM +#ifdef BOOST_COMP_LLVM_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_LLVM_EMULATED BOOST_COMP_LLVM_DETECTION +# else +# undef BOOST_COMP_LLVM +# define BOOST_COMP_LLVM BOOST_COMP_LLVM_DETECTION +# endif # define BOOST_COMP_LLVM_AVAILABLE +# include #endif #define BOOST_COMP_LLVM_NAME "LLVM" @@ -39,5 +49,10 @@ http://www.boost.org/LICENSE_1_0.txt) #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM,BOOST_COMP_LLVM_NAME) +#ifdef BOOST_COMP_LLVM_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_LLVM_EMULATED,BOOST_COMP_LLVM_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/metaware.h b/include/boost/predef/compiler/metaware.h index ad50c2f..5e13de8 100644 --- a/include/boost/predef/compiler/metaware.h +++ b/include/boost/predef/compiler/metaware.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -26,12 +26,18 @@ MetaWare High C/C++ compiler. #define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__HIGHC__) -# undef BOOST_COMP_HIGHC -# define BOOST_COMP_HIGHC BOOST_VERSION_NUMBER_AVAILABLE +# define BOOST_COMP_HIGHC_DETECTION BOOST_VERSION_NUMBER_AVAILABLE #endif -#if BOOST_COMP_HIGHC +#ifdef BOOST_COMP_HIGHC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_HIGHC_EMULATED BOOST_COMP_HIGHC_DETECTION +# else +# undef BOOST_COMP_HIGHC +# define BOOST_COMP_HIGHC BOOST_COMP_HIGHC_DETECTION +# endif # define BOOST_COMP_HIGHC_AVAILABLE +# include #endif #define BOOST_COMP_HIGHC_NAME "MetaWare High C/C++" @@ -39,5 +45,10 @@ MetaWare High C/C++ compiler. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HIGHC,BOOST_COMP_HIGHC_NAME) +#ifdef BOOST_COMP_HIGHC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_HIGHC_EMULATED,BOOST_COMP_HIGHC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/metrowerks.h b/include/boost/predef/compiler/metrowerks.h index ecfecc6..409282b 100644 --- a/include/boost/predef/compiler/metrowerks.h +++ b/include/boost/predef/compiler/metrowerks.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -33,29 +33,35 @@ Version number available as major, minor, and patch. #define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__MWERKS__) || defined(__CWCC__) -# undef BOOST_COMP_MWERKS -# if !defined(BOOST_COMP_MWERKS) && defined(__CWCC__) -# define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__) +# if !defined(BOOST_COMP_MWERKS_DETECTION) && defined(__CWCC__) +# define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__CWCC__) # endif -# if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x4200) -# define BOOST_COMP_MWERKS BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__) +# if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x4200) +# define BOOST_COMP_MWERKS_DETECTION BOOST_PREDEF_MAKE_0X_VRPP(__MWERKS__) # endif -# if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3 -# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0) +# if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3204) // note the "skip": 04->9.3 +# define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100-1,0) # endif -# if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3200) -# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0) +# if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3200) +# define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(9,(__MWERKS__)%100,0) # endif -# if !defined(BOOST_COMP_MWERKS) && (__MWERKS__ >= 0x3000) -# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0) +# if !defined(BOOST_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3000) +# define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER(8,(__MWERKS__)%100,0) # endif -# if !defined(BOOST_COMP_MWERKS) -# define BOOST_COMP_MWERKS BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_MWERKS_DETECTION) +# define BOOST_COMP_MWERKS_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_MWERKS +#ifdef BOOST_COMP_MWERKS_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_MWERKS_EMULATED BOOST_COMP_MWERKS_DETECTION +# else +# undef BOOST_COMP_MWERKS +# define BOOST_COMP_MWERKS BOOST_COMP_MWERKS_DETECTION +# endif # define BOOST_COMP_MWERKS_AVAILABLE +# include #endif #define BOOST_COMP_MWERKS_NAME "Metrowerks CodeWarrior" @@ -63,5 +69,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS,BOOST_COMP_MWERKS_NAME) +#ifdef BOOST_COMP_MWERKS_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MWERKS_EMULATED,BOOST_COMP_MWERKS_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/microtec.h b/include/boost/predef/compiler/microtec.h index 4ff13e4..6bd6279 100644 --- a/include/boost/predef/compiler/microtec.h +++ b/include/boost/predef/compiler/microtec.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -26,12 +26,18 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_COMP_MRI BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(_MRI) -# undef BOOST_COMP_MRI -# define BOOST_COMP_MRI BOOST_VERSION_NUMBER_AVAILABLE +# define BOOST_COMP_MRI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE #endif -#if BOOST_COMP_MRI +#ifdef BOOST_COMP_MRI_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_MRI_EMULATED BOOST_COMP_MRI_DETECTION +# else +# undef BOOST_COMP_MRI +# define BOOST_COMP_MRI BOOST_COMP_MRI_DETECTION +# endif # define BOOST_COMP_MRI_AVAILABLE +# include #endif #define BOOST_COMP_MRI_NAME "Microtec C/C++" @@ -39,5 +45,10 @@ http://www.boost.org/LICENSE_1_0.txt) #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI,BOOST_COMP_MRI_NAME) +#ifdef BOOST_COMP_MRI_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MRI_EMULATED,BOOST_COMP_MRI_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/mpw.h b/include/boost/predef/compiler/mpw.h index fb20545..3a48f6f 100644 --- a/include/boost/predef/compiler/mpw.h +++ b/include/boost/predef/compiler/mpw.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,17 +31,23 @@ Version number available as major, and minor. #define BOOST_COMP_MPW BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS) -# undef BOOST_COMP_MPW -# if !defined(BOOST_COMP_MPW) && defined(__MRC__) -# define BOOST_COMP_MPW BOOST_PREDEF_MAKE_0X_VVRR(__MRC__) +# if !defined(BOOST_COMP_MPW_DETECTION) && defined(__MRC__) +# define BOOST_COMP_MPW_DETECTION BOOST_PREDEF_MAKE_0X_VVRR(__MRC__) # endif -# if !defined(BOOST_COMP_MPW) -# define BOOST_COMP_MPW BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_MPW_DETECTION) +# define BOOST_COMP_MPW_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_MPW +#ifdef BOOST_COMP_MPW_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_MPW_EMULATED BOOST_COMP_MPW_DETECTION +# else +# undef BOOST_COMP_MPW +# define BOOST_COMP_MPW BOOST_COMP_MPW_DETECTION +# endif # define BOOST_COMP_MPW_AVAILABLE +# include #endif #define BOOST_COMP_MPW_NAME "MPW C++" @@ -49,5 +55,10 @@ Version number available as major, and minor. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW,BOOST_COMP_MPW_NAME) +#ifdef BOOST_COMP_MPW_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MPW_EMULATED,BOOST_COMP_MPW_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/palm.h b/include/boost/predef/compiler/palm.h index 766dc7c..eb1da97 100644 --- a/include/boost/predef/compiler/palm.h +++ b/include/boost/predef/compiler/palm.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, minor, and patch. #define BOOST_COMP_PALM BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(_PACC_VER) -# undef BOOST_COMP_PALM -# define BOOST_COMP_PALM BOOST_PREDEF_MAKE_0X_VRRPP000(_PACC_VER) +# define BOOST_COMP_PALM_DETECTION BOOST_PREDEF_MAKE_0X_VRRPP000(_PACC_VER) #endif -#if BOOST_COMP_PALM +#ifdef BOOST_COMP_PALM_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_PALM_EMULATED BOOST_COMP_PALM_DETECTION +# else +# undef BOOST_COMP_PALM +# define BOOST_COMP_PALM BOOST_COMP_PALM_DETECTION +# endif # define BOOST_COMP_PALM_AVAILABLE +# include #endif #define BOOST_COMP_PALM_NAME "Palm C/C++" @@ -42,5 +48,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PALM,BOOST_COMP_PALM_NAME) +#ifdef BOOST_COMP_PALM_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PALM_EMULATED,BOOST_COMP_PALM_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/pgi.h b/include/boost/predef/compiler/pgi.h index d1eb219..563335f 100644 --- a/include/boost/predef/compiler/pgi.h +++ b/include/boost/predef/compiler/pgi.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -28,17 +28,23 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_COMP_PGI BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__PGI) -# undef BOOST_COMP_PGI -# if !defined(BOOST_COMP_PGI) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)) -# define BOOST_COMP_PGI BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__) +# if !defined(BOOST_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)) +# define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER(__PGIC__,__PGIC_MINOR__,__PGIC_PATCHLEVEL__) # endif -# if !defined(BOOST_COMP_PGI) -# define BOOST_COMP_PGI BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_PGI_DETECTION) +# define BOOST_COMP_PGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_PGI +#ifdef BOOST_COMP_PGI_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_PGI_EMULATED BOOST_COMP_PGI_DETECTION +# else +# undef BOOST_COMP_PGI +# define BOOST_COMP_PGI BOOST_COMP_PGI_DETECTION +# endif # define BOOST_COMP_PGI_AVAILABLE +# include #endif #define BOOST_COMP_PGI_NAME "Portland Group C/C++" @@ -46,5 +52,10 @@ http://www.boost.org/LICENSE_1_0.txt) #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI,BOOST_COMP_PGI_NAME) +#ifdef BOOST_COMP_PGI_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_PGI_EMULATED,BOOST_COMP_PGI_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/sgi_mipspro.h b/include/boost/predef/compiler/sgi_mipspro.h index 4885094..c212b19 100644 --- a/include/boost/predef/compiler/sgi_mipspro.h +++ b/include/boost/predef/compiler/sgi_mipspro.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,20 +31,26 @@ Version number available as major, minor, and patch. #define BOOST_COMP_SGI BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__sgi) || defined(sgi) -# undef BOOST_COMP_SGI -# if !defined(BOOST_COMP_SGI) && defined(_SGI_COMPILER_VERSION) -# define BOOST_COMP_SGI BOOST_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION) +# if !defined(BOOST_COMP_SGI_DETECTION) && defined(_SGI_COMPILER_VERSION) +# define BOOST_COMP_SGI_DETECTION BOOST_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION) # endif -# if !defined(BOOST_COMP_SGI) && defined(_COMPILER_VERSION) -# define BOOST_COMP_SGI BOOST_PREDEF_MAKE_10_VRP(_COMPILER_VERSION) +# if !defined(BOOST_COMP_SGI_DETECTION) && defined(_COMPILER_VERSION) +# define BOOST_COMP_SGI_DETECTION BOOST_PREDEF_MAKE_10_VRP(_COMPILER_VERSION) # endif -# if !defined(BOOST_COMP_SGI) -# define BOOST_COMP_SGI BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_SGI_DETECTION) +# define BOOST_COMP_SGI_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_SGI +#ifdef BOOST_COMP_SGI_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_SGI_EMULATED BOOST_COMP_SGI_DETECTION +# else +# undef BOOST_COMP_SGI +# define BOOST_COMP_SGI BOOST_COMP_SGI_DETECTION +# endif # define BOOST_COMP_SGI_AVAILABLE +# include #endif #define BOOST_COMP_SGI_NAME "SGI MIPSpro" @@ -52,5 +58,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SGI,BOOST_COMP_SGI_NAME) +#ifdef BOOST_COMP_SGI_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SGI_EMULATED,BOOST_COMP_SGI_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/sunpro.h b/include/boost/predef/compiler/sunpro.h index bb67de0..bd3da27 100644 --- a/include/boost/predef/compiler/sunpro.h +++ b/include/boost/predef/compiler/sunpro.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -31,20 +31,26 @@ Version number available as major, minor, and patch. #define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__SUNPRO_CC) || defined(__SUNPRO_C) -# undef BOOST_COMP_SUNPRO -# if !defined(BOOST_COMP_SUNPRO) && defined(__SUNPRO_CC) -# define BOOST_COMP_SUNPRO BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC) +# if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_CC) +# define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_CC) # endif -# if !defined(BOOST_COMP_SUNPRO) && defined(__SUNPRO_C) -# define BOOST_COMP_SUNPRO BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C) +# if !defined(BOOST_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_C) +# define BOOST_COMP_SUNPRO_DETECTION BOOST_PREDEF_MAKE_0X_VRP(__SUNPRO_C) # endif -# if !defined(BOOST_COMP_SUNPRO) -# define BOOST_COMP_SUNPRO BOOST_VERSION_NUMBER_AVAILABLE +# if !defined(BOOST_COMP_SUNPRO_DETECTION) +# define BOOST_COMP_SUNPRO_DETECTION BOOST_VERSION_NUMBER_AVAILABLE # endif #endif -#if BOOST_COMP_SUNPRO +#ifdef BOOST_COMP_SUNPRO_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_SUNPRO_EMULATED BOOST_COMP_SUNPRO_DETECTION +# else +# undef BOOST_COMP_SUNPRO +# define BOOST_COMP_SUNPRO BOOST_COMP_SUNPRO_DETECTION +# endif # define BOOST_COMP_SUNPRO_AVAILABLE +# include #endif #define BOOST_COMP_SUNPRO_NAME "Sun Studio" @@ -52,5 +58,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO,BOOST_COMP_SUNPRO_NAME) +#ifdef BOOST_COMP_SUNPRO_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_SUNPRO_EMULATED,BOOST_COMP_SUNPRO_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/tendra.h b/include/boost/predef/compiler/tendra.h index 79b2cdc..194f0af 100644 --- a/include/boost/predef/compiler/tendra.h +++ b/include/boost/predef/compiler/tendra.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -26,12 +26,18 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__TenDRA__) -# undef BOOST_COMP_TENDRA -# define BOOST_COMP_TENDRA BOOST_VERSION_NUMBER_AVAILABLE +# define BOOST_COMP_TENDRA_DETECTION BOOST_VERSION_NUMBER_AVAILABLE #endif -#if BOOST_COMP_TENDRA +#ifdef BOOST_COMP_TENDRA_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_TENDRA_EMULATED BOOST_COMP_TENDRA_DETECTION +# else +# undef BOOST_COMP_TENDRA +# define BOOST_COMP_TENDRA BOOST_COMP_TENDRA_DETECTION +# endif # define BOOST_COMP_TENDRA_AVAILABLE +# include #endif #define BOOST_COMP_TENDRA_NAME "TenDRA C/C++" @@ -39,5 +45,10 @@ http://www.boost.org/LICENSE_1_0.txt) #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_TENDRA,BOOST_COMP_TENDRA_NAME) +#ifdef BOOST_COMP_TENDRA_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_TENDRA_EMULATED,BOOST_COMP_TENDRA_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/visualc.h b/include/boost/predef/compiler/visualc.h index eb46681..66d0601 100644 --- a/include/boost/predef/compiler/visualc.h +++ b/include/boost/predef/compiler/visualc.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -8,6 +8,10 @@ http://www.boost.org/LICENSE_1_0.txt) #ifndef BOOST_PREDEF_COMPILER_VISUALC_H #define BOOST_PREDEF_COMPILER_VISUALC_H +/* Other compilers that emulate this one need to be detected first. */ + +#include + #include #include @@ -30,7 +34,6 @@ Version number available as major, minor, and patch. #define BOOST_COMP_MSVC BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(_MSC_VER) -# undef BOOST_COMP_MSVC # if !defined (_MSC_FULL_VER) # define BOOST_COMP_MSVC_BUILD 0 # else @@ -45,14 +48,21 @@ Version number available as major, minor, and patch. # error "Cannot determine build number from _MSC_FULL_VER" # endif # endif -# define BOOST_COMP_MSVC BOOST_VERSION_NUMBER(\ +# define BOOST_COMP_MSVC_DETECTION BOOST_VERSION_NUMBER(\ _MSC_VER/100-6,\ _MSC_VER%100,\ BOOST_COMP_MSVC_BUILD) #endif -#if BOOST_COMP_MSVC +#ifdef BOOST_COMP_MSVC_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_MSVC_EMULATED BOOST_COMP_MSVC_DETECTION +# else +# undef BOOST_COMP_MSVC +# define BOOST_COMP_MSVC BOOST_COMP_MSVC_DETECTION +# endif # define BOOST_COMP_MSVC_AVAILABLE +# include #endif #define BOOST_COMP_MSVC_NAME "Microsoft Visual C/C++" @@ -60,5 +70,10 @@ Version number available as major, minor, and patch. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MSVC,BOOST_COMP_MSVC_NAME) +#ifdef BOOST_COMP_MSVC_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_MSVC_EMULATED,BOOST_COMP_MSVC_NAME) +#endif + #endif diff --git a/include/boost/predef/compiler/watcom.h b/include/boost/predef/compiler/watcom.h index 8d937c9..832d10c 100644 --- a/include/boost/predef/compiler/watcom.h +++ b/include/boost/predef/compiler/watcom.h @@ -1,5 +1,5 @@ /* -Copyright Rene Rivera 2008-2013 +Copyright Rene Rivera 2008-2014 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) @@ -29,12 +29,18 @@ Version number available as major, and minor. #define BOOST_COMP_WATCOM BOOST_VERSION_NUMBER_NOT_AVAILABLE #if defined(__WATCOMC__) -# undef BOOST_COMP_WATCOM -# define BOOST_COMP_WATCOM BOOST_PREDEF_MAKE_10_VVRR(__WATCOMC__) +# define BOOST_COMP_WATCOM_DETECTION BOOST_PREDEF_MAKE_10_VVRR(__WATCOMC__) #endif -#if BOOST_COMP_WATCOM +#ifdef BOOST_COMP_WATCOM_DETECTION +# if defined(BOOST_PREDEF_DETAIL_COMP_DETECTED) +# define BOOST_COMP_WATCOM_EMULATED BOOST_COMP_WATCOM_DETECTION +# else +# undef BOOST_COMP_WATCOM +# define BOOST_COMP_WATCOM BOOST_COMP_WATCOM_DETECTION +# endif # define BOOST_COMP_WATCOM_AVAILABLE +# include #endif #define BOOST_COMP_WATCOM_NAME "Watcom C++" @@ -42,5 +48,10 @@ Version number available as major, and minor. #include BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_WATCOM,BOOST_COMP_WATCOM_NAME) +#ifdef BOOST_COMP_WATCOM_EMULATED +#include +BOOST_PREDEF_DECLARE_TEST(BOOST_COMP_WATCOM_EMULATED,BOOST_COMP_WATCOM_NAME) +#endif + #endif diff --git a/include/boost/predef/detail/comp_detected.h b/include/boost/predef/detail/comp_detected.h new file mode 100644 index 0000000..fda1801 --- /dev/null +++ b/include/boost/predef/detail/comp_detected.h @@ -0,0 +1,10 @@ +/* +Copyright Rene Rivera 2014 +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_COMP_DETECTED +#define BOOST_PREDEF_DETAIL_COMP_DETECTED 1 +#endif