1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

net.endian: resolution dependence on Boost

This commit is contained in:
bolero-MURAKAMI 2015-12-06 14:34:37 +09:00
parent 74669a5a8a
commit f2c09dd3af
139 changed files with 4800 additions and 202 deletions

View file

@ -0,0 +1,38 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_BORLAND_HPP
#define SPROUT_PREDEF_COMPILER_BORLAND_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_BORLAND 0
#if defined(__BORLANDC__) || defined(__CODEGEARC__)
# if !defined(SPROUT_COMP_BORLAND_DETECTION) && (defined(__CODEGEARC__))
# define SPROUT_COMP_BORLAND_DETECTION SPROUT_PREDEF_MAKE_0X_VVRP(__CODEGEARC__)
# endif
# if !defined(SPROUT_COMP_BORLAND_DETECTION)
# define SPROUT_COMP_BORLAND_DETECTION SPROUT_PREDEF_MAKE_0X_VVRP(__BORLANDC__)
# endif
#endif
#ifdef SPROUT_COMP_BORLAND_DETECTION
# define SPROUT_COMP_BORLAND_AVAILABLE
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_BORLAND_EMULATED SPROUT_COMP_BORLAND_DETECTION
# else
# undef SPROUT_COMP_BORLAND
# define SPROUT_COMP_BORLAND SPROUT_COMP_BORLAND_DETECTION
# endif
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_BORLAND_NAME "Borland C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_BORLAND_HPP

View file

@ -0,0 +1,34 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_CLANG_HPP
#define SPROUT_PREDEF_COMPILER_CLANG_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_COMP_CLANG 0
#if defined(__clang__)
# define SPROUT_COMP_CLANG_DETECTION \
SPROUT_VERSION_NUMBER(__clang_major__, __clang_minor__, __clang_patchlevel__)
#endif
#ifdef SPROUT_COMP_CLANG_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_CLANG_EMULATED SPROUT_COMP_CLANG_DETECTION
# else
# undef SPROUT_COMP_CLANG
# define SPROUT_COMP_CLANG SPROUT_COMP_CLANG_DETECTION
# endif
# define SPROUT_COMP_CLANG_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_CLANG_NAME "Clang"
#endif //#ifndef SPROUT_PREDEF_COMPILER_CLANG_HPP

View file

@ -0,0 +1,38 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_COMEAU_HPP
#define SPROUT_PREDEF_COMPILER_COMEAU_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_COMO 0
#if defined(__COMO__)
# if !defined(SPROUT_COMP_COMO_DETECTION) && defined(__COMO_VERSION__)
# define SPROUT_COMP_COMO_DETECTION SPROUT_PREDEF_MAKE_0X_VRP(__COMO_VERSION__)
# endif
# if !defined(SPROUT_COMP_COMO_DETECTION)
# define SPROUT_COMP_COMO_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_COMO_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_COMO_EMULATED SPROUT_COMP_COMO_DETECTION
# else
# undef SPROUT_COMP_COMO
# define SPROUT_COMP_COMO SPROUT_COMP_COMO_DETECTION
# endif
# define SPROUT_COMP_COMO_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_COMO_NAME "Comeau C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_COMEAU_HPP

View file

@ -0,0 +1,41 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_COMPAQ_HPP
#define SPROUT_PREDEF_COMPILER_COMPAQ_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_DEC 0
#if defined(__DECC) || defined(__DECCXX)
# if !defined(SPROUT_COMP_DEC_DETECTION) && defined(__DECCXX_VER)
# define SPROUT_COMP_DEC_DETECTION SPROUT_PREDEF_MAKE_10_VVRR0PP00(__DECCXX_VER)
# endif
# if !defined(SPROUT_COMP_DEC_DETECTION) && defined(__DECC_VER)
# define SPROUT_COMP_DEC_DETECTION SPROUT_PREDEF_MAKE_10_VVRR0PP00(__DECC_VER)
# endif
# if !defined(SPROUT_COMP_DEC_DETECTION)
# define SPROUT_COM_DEC_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_DEC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_DEC_EMULATED SPROUT_COMP_DEC_DETECTION
# else
# undef SPROUT_COMP_DEC
# define SPROUT_COMP_DEC SPROUT_COMP_DEC_DETECTION
# endif
# define SPROUT_COMP_DEC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_DEC_NAME "Compaq C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_COMPAQ_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_DIAB_HPP
#define SPROUT_PREDEF_COMPILER_DIAB_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_DIAB 0
#if defined(__DCC__)
# define SPROUT_COMP_DIAB_DETECTION SPROUT_PREDEF_MAKE_10_VRPP(__VERSION_NUMBER__)
#endif
#ifdef SPROUT_COMP_DIAB_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_DIAB_EMULATED SPROUT_COMP_DIAB_DETECTION
# else
# undef SPROUT_COMP_DIAB
# define SPROUT_COMP_DIAB SPROUT_COMP_DIAB_DETECTION
# endif
# define SPROUT_COMP_DIAB_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_DIAB_NAME "Diab C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_DIAB_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_DIGITALMARS_HPP
#define SPROUT_PREDEF_COMPILER_DIGITALMARS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_DMC 0
#if defined(__DMC__)
# define SPROUT_COMP_DMC_DETECTION SPROUT_PREDEF_MAKE_0X_VRP(__DMC__)
#endif
#ifdef SPROUT_COMP_DMC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_DMC_EMULATED SPROUT_COMP_DMC_DETECTION
# else
# undef SPROUT_COMP_DMC
# define SPROUT_COMP_DMC SPROUT_COMP_DMC_DETECTION
# endif
# define SPROUT_COMP_DMC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_DMC_NAME "Digital Mars"
#endif //#ifndef SPROUT_PREDEF_COMPILER_DIGITALMARS_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_DIGNUS_HPP
#define SPROUT_PREDEF_COMPILER_DIGNUS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_SYSC 0
#if defined(__SYSC__)
# define SPROUT_COMP_SYSC_DETECTION SPROUT_PREDEF_MAKE_10_VRRPP(__SYSC_VER__)
#endif
#ifdef SPROUT_COMP_SYSC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_SYSC_EMULATED SPROUT_COMP_SYSC_DETECTION
# else
# undef SPROUT_COMP_SYSC
# define SPROUT_COMP_SYSC SPROUT_COMP_SYSC_DETECTION
# endif
# define SPROUT_COMP_SYSC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_SYSC_NAME "Dignus Systems/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_DIGNUS_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_EDG_HPP
#define SPROUT_PREDEF_COMPILER_EDG_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_EDG 0
#if defined(__EDG__)
# define SPROUT_COMP_EDG_DETECTION SPROUT_PREDEF_MAKE_10_VRR(__EDG_VERSION__)
#endif
#ifdef SPROUT_COMP_EDG_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_EDG_EMULATED SPROUT_COMP_EDG_DETECTION
# else
# undef SPROUT_COMP_EDG
# define SPROUT_COMP_EDG SPROUT_COMP_EDG_DETECTION
# endif
# define SPROUT_COMP_EDG_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_EDG_NAME "EDG C++ Frontend"
#endif //#ifndef SPROUT_PREDEF_COMPILER_EDG_HPP

View file

@ -0,0 +1,34 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_EKOPATH_HPP
#define SPROUT_PREDEF_COMPILER_EKOPATH_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_COMP_PATH 0
#if defined(__PATHCC__)
# define SPROUT_COMP_PATH_DETECTION \
SPROUT_VERSION_NUMBER(__PATHCC__, __PATHCC_MINOR__, __PATHCC_PATCHLEVEL__)
#endif
#ifdef SPROUT_COMP_PATH_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_PATH_EMULATED SPROUT_COMP_PATH_DETECTION
# else
# undef SPROUT_COMP_PATH
# define SPROUT_COMP_PATH SPROUT_COMP_PATH_DETECTION
# endif
# define SPROUT_COMP_PATH_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_PATH_NAME "EKOpath"
#endif //#ifndef SPROUT_PREDEF_COMPILER_EKOPATH_HPP

View file

@ -0,0 +1,41 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_GCC_HPP
#define SPROUT_PREDEF_COMPILER_GCC_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#include <sprout/predef/compiler/clang.hpp>
#define SPROUT_COMP_GNUC 0
#if defined(__GNUC__)
# if !defined(SPROUT_COMP_GNUC_DETECTION) && defined(__GNUC_PATCHLEVEL__)
# define SPROUT_COMP_GNUC_DETECTION \
SPROUT_VERSION_NUMBER(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__)
# endif
# if !defined(SPROUT_COMP_GNUC_DETECTION)
# define SPROUT_COMP_GNUC_DETECTION \
SPROUT_VERSION_NUMBER(__GNUC__, __GNUC_MINOR__, 0)
# endif
#endif
#ifdef SPROUT_COMP_GNUC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_GNUC_EMULATED SPROUT_COMP_GNUC_DETECTION
# else
# undef SPROUT_COMP_GNUC
# define SPROUT_COMP_GNUC SPROUT_COMP_GNUC_DETECTION
# endif
# define SPROUT_COMP_GNUC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_GNUC_NAME "Gnu GCC C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_GCC_HPP

View file

@ -0,0 +1,32 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_GCC_XML_HPP
#define SPROUT_PREDEF_COMPILER_GCC_XML_HPP
#include <sprout/config.hpp>
#define SPROUT_COMP_GCCXML 0
#if defined(__GCCXML__)
# define SPROUT_COMP_GCCXML_DETECTION 1
#endif
#ifdef SPROUT_COMP_GCCXML_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_GCCXML_EMULATED SPROUT_COMP_GCCXML_DETECTION
# else
# undef SPROUT_COMP_GCCXML
# define SPROUT_COMP_GCCXML SPROUT_COMP_GCCXML_DETECTION
# endif
# define SPROUT_COMP_GCCXML_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_GCCXML_NAME "GCC XML"
#endif //#ifndef SPROUT_PREDEF_COMPILER_GCC_XML_HPP

View file

@ -0,0 +1,41 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_GREENHILLS_HPP
#define SPROUT_PREDEF_COMPILER_GREENHILLS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_GHS 0
#if defined(__ghs) || defined(__ghs__)
# if !defined(SPROUT_COMP_GHS_DETECTION) && defined(__GHS_VERSION_NUMBER__)
# define SPROUT_COMP_GHS_DETECTION SPROUT_PREDEF_MAKE_10_VRP(__GHS_VERSION_NUMBER__)
# endif
# if !defined(SPROUT_COMP_GHS_DETECTION) && defined(__ghs)
# define SPROUT_COMP_GHS_DETECTION SPROUT_PREDEF_MAKE_10_VRP(__ghs)
# endif
# if !defined(SPROUT_COMP_GHS_DETECTION)
# define SPROUT_COMP_GHS_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_GHS_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_GHS_EMULATED SPROUT_COMP_GHS_DETECTION
# else
# undef SPROUT_COMP_GHS
# define SPROUT_COMP_GHS SPROUT_COMP_GHS_DETECTION
# endif
# define SPROUT_COMP_GHS_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_GHS_NAME "Green Hills C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_GREENHILLS_HPP

View file

@ -0,0 +1,38 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_HP_ACC_HPP
#define SPROUT_PREDEF_COMPILER_HP_ACC_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_HPACC 0
#if defined(__HP_aCC)
# if !defined(SPROUT_COMP_HPACC_DETECTION) && (__HP_aCC > 1)
# define SPROUT_COMP_HPACC_DETECTION SPROUT_PREDEF_MAKE_10_VVRRPP(__HP_aCC)
# endif
# if !defined(SPROUT_COMP_HPACC_DETECTION)
# define SPROUT_COMP_HPACC_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_HPACC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_HPACC_EMULATED SPROUT_COMP_HPACC_DETECTION
# else
# undef SPROUT_COMP_HPACC
# define SPROUT_COMP_HPACC SPROUT_COMP_HPACC_DETECTION
# endif
# define SPROUT_COMP_HPACC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_HPACC_NAME "HP aC++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_HP_ACC_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_IAR_HPP
#define SPROUT_PREDEF_COMPILER_IAR_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_IAR 0
#if defined(__IAR_SYSTEMS_ICC__)
# define SPROUT_COMP_IAR_DETECTION SPROUT_PREDEF_MAKE_10_VVRR(__VER__)
#endif
#ifdef SPROUT_COMP_IAR_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_IAR_EMULATED SPROUT_COMP_IAR_DETECTION
# else
# undef SPROUT_COMP_IAR
# define SPROUT_COMP_IAR SPROUT_COMP_IAR_DETECTION
# endif
# define SPROUT_COMP_IAR_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_IAR_NAME "IAR C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_IAR_HPP

View file

@ -0,0 +1,44 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_IBM_HPP
#define SPROUT_PREDEF_COMPILER_IBM_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_IBM 0
#if defined(__IBMCPP__) || defined(__xlC__) || defined(__xlc__)
# if !defined(SPROUT_COMP_IBM_DETECTION) && defined(__COMPILER_VER__)
# define SPROUT_COMP_IBM_DETECTION SPROUT_PREDEF_MAKE_0X_VRRPPPP(__COMPILER_VER__)
# endif
# if !defined(SPROUT_COMP_IBM_DETECTION) && defined(__xlC__)
# define SPROUT_COMP_IBM_DETECTION SPROUT_PREDEF_MAKE_0X_VVRR(__xlC__)
# endif
# if !defined(SPROUT_COMP_IBM_DETECTION) && defined(__xlc__)
# define SPROUT_COMP_IBM_DETECTION SPROUT_PREDEF_MAKE_0X_VVRR(__xlc__)
# endif
# if !defined(SPROUT_COMP_IBM_DETECTION)
# define SPROUT_COMP_IBM_DETECTION SPROUT_PREDEF_MAKE_10_VRP(__IBMCPP__)
# endif
#endif
#ifdef SPROUT_COMP_IBM_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_IBM_EMULATED SPROUT_COMP_IBM_DETECTION
# else
# undef SPROUT_COMP_IBM
# define SPROUT_COMP_IBM SPROUT_COMP_IBM_DETECTION
# endif
# define SPROUT_COMP_IBM_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_IBM_NAME "IBM XL C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_IBM_HPP

View file

@ -0,0 +1,39 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_INTEL_HPP
#define SPROUT_PREDEF_COMPILER_INTEL_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_INTEL 0
#if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || \
defined(__ECC)
# if !defined(SPROUT_COMP_INTEL_DETECTION) && defined(__INTEL_COMPILER)
# define SPROUT_COMP_INTEL_DETECTION SPROUT_PREDEF_MAKE_10_VRP(__INTEL_COMPILER)
# endif
# if !defined(SPROUT_COMP_INTEL_DETECTION)
# define SPROUT_COMP_INTEL_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_INTEL_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_INTEL_EMULATED SPROUT_COMP_INTEL_DETECTION
# else
# undef SPROUT_COMP_INTEL
# define SPROUT_COMP_INTEL SPROUT_COMP_INTEL_DETECTION
# endif
# define SPROUT_COMP_INTEL_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_INTEL_NAME "Intel C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_INTEL_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_KAI_HPP
#define SPROUT_PREDEF_COMPILER_KAI_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_KCC 0
#if defined(__KCC)
# define SPROUT_COMP_KCC_DETECTION SPROUT_PREDEF_MAKE_0X_VRPP(__KCC_VERSION)
#endif
#ifdef SPROUT_COMP_KCC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_KCC_EMULATED SPROUT_COMP_KCC_DETECTION
# else
# undef SPROUT_COMP_KCC
# define SPROUT_COMP_KCC SPROUT_COMP_KCC_DETECTION
# endif
# define SPROUT_COMP_KCC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_KCC_NAME "Kai C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_KAI_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_LLVM_HPP
#define SPROUT_PREDEF_COMPILER_LLVM_HPP
#include <sprout/config.hpp>
#include <sprout/predef/compiler/clang.hpp>
#define SPROUT_COMP_LLVM 0
#if defined(__llvm__)
# define SPROUT_COMP_LLVM_DETECTION 1
#endif
#ifdef SPROUT_COMP_LLVM_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_LLVM_EMULATED SPROUT_COMP_LLVM_DETECTION
# else
# undef SPROUT_COMP_LLVM
# define SPROUT_COMP_LLVM SPROUT_COMP_LLVM_DETECTION
# endif
# define SPROUT_COMP_LLVM_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_LLVM_NAME "LLVM"
#endif //#ifndef SPROUT_PREDEF_COMPILER_LLVM_HPP

View file

@ -0,0 +1,32 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_METAWARE_HPP
#define SPROUT_PREDEF_COMPILER_METAWARE_HPP
#include <sprout/config.hpp>
#define SPROUT_COMP_HIGHC 0
#if defined(__HIGHC__)
# define SPROUT_COMP_HIGHC_DETECTION 1
#endif
#ifdef SPROUT_COMP_HIGHC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_HIGHC_EMULATED SPROUT_COMP_HIGHC_DETECTION
# else
# undef SPROUT_COMP_HIGHC
# define SPROUT_COMP_HIGHC SPROUT_COMP_HIGHC_DETECTION
# endif
# define SPROUT_COMP_HIGHC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_HIGHC_NAME "MetaWare High C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_METAWARE_HPP

View file

@ -0,0 +1,51 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_METROWERKS_HPP
#define SPROUT_PREDEF_COMPILER_METROWERKS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_MWERKS 0
#if defined(__MWERKS__) || defined(__CWCC__)
# if !defined(SPROUT_COMP_MWERKS_DETECTION) && defined(__CWCC__)
# define SPROUT_COMP_MWERKS_DETECTION SPROUT_PREDEF_MAKE_0X_VRPP(__CWCC__)
# endif
# if !defined(SPROUT_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x4200)
# define SPROUT_COMP_MWERKS_DETECTION SPROUT_PREDEF_MAKE_0X_VRPP(__MWERKS__)
# endif
# if !defined(SPROUT_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3204)
# define SPROUT_COMP_MWERKS_DETECTION SPROUT_VERSION_NUMBER(9, (__MWERKS__) % 100 - 1, 0)
# endif
# if !defined(SPROUT_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3200)
# define SPROUT_COMP_MWERKS_DETECTION SPROUT_VERSION_NUMBER(9, (__MWERKS__) % 100, 0)
# endif
# if !defined(SPROUT_COMP_MWERKS_DETECTION) && (__MWERKS__ >= 0x3000)
# define SPROUT_COMP_MWERKS_DETECTION SPROUT_VERSION_NUMBER(8, (__MWERKS__) % 100, 0)
# endif
# if !defined(SPROUT_COMP_MWERKS_DETECTION)
# define SPROUT_COMP_MWERKS_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_MWERKS_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_MWERKS_EMULATED SPROUT_COMP_MWERKS_DETECTION
# else
# undef SPROUT_COMP_MWERKS
# define SPROUT_COMP_MWERKS SPROUT_COMP_MWERKS_DETECTION
# endif
# define SPROUT_COMP_MWERKS_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_MWERKS_NAME "Metrowerks CodeWarrior"
#endif //#ifndef SPROUT_PREDEF_COMPILER_METROWERKS_HPP

View file

@ -0,0 +1,32 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_MICROTEC_HPP
#define SPROUT_PREDEF_COMPILER_MICROTEC_HPP
#include <sprout/config.hpp>
#define SPROUT_COMP_MRI 0
#if defined(_MRI)
# define SPROUT_COMP_MRI_DETECTION 1
#endif
#ifdef SPROUT_COMP_MRI_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_MRI_EMULATED SPROUT_COMP_MRI_DETECTION
# else
# undef SPROUT_COMP_MRI
# define SPROUT_COMP_MRI SPROUT_COMP_MRI_DETECTION
# endif
# define SPROUT_COMP_MRI_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_MRI_NAME "Microtec C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_MICROTEC_HPP

View file

@ -0,0 +1,38 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_MPW_HPP
#define SPROUT_PREDEF_COMPILER_MPW_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_MPW 0
#if defined(__MRC__) || defined(MPW_C) || defined(MPW_CPLUS)
# if !defined(SPROUT_COMP_MPW_DETECTION) && defined(__MRC__)
# define SPROUT_COMP_MPW_DETECTION SPROUT_PREDEF_MAKE_0X_VVRR(__MRC__)
# endif
# if !defined(SPROUT_COMP_MPW_DETECTION)
# define SPROUT_COMP_MPW_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_MPW_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_MPW_EMULATED SPROUT_COMP_MPW_DETECTION
# else
# undef SPROUT_COMP_MPW
# define SPROUT_COMP_MPW SPROUT_COMP_MPW_DETECTION
# endif
# define SPROUT_COMP_MPW_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_MPW_NAME "MPW C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_MPW_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_PALM_HPP
#define SPROUT_PREDEF_COMPILER_PALM_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_PALM 0
#if defined(_PACC_VER)
# define SPROUT_COMP_PALM_DETECTION SPROUT_PREDEF_MAKE_0X_VRRPP000(_PACC_VER)
#endif
#ifdef SPROUT_COMP_PALM_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_PALM_EMULATED SPROUT_COMP_PALM_DETECTION
# else
# undef SPROUT_COMP_PALM
# define SPROUT_COMP_PALM SPROUT_COMP_PALM_DETECTION
# endif
# define SPROUT_COMP_PALM_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_PALM_NAME "Palm C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_PALM_HPP

View file

@ -0,0 +1,38 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_PGI_HPP
#define SPROUT_PREDEF_COMPILER_PGI_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_COMP_PGI 0
#if defined(__PGI)
# if !defined(SPROUT_COMP_PGI_DETECTION) && (defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__))
# define SPROUT_COMP_PGI_DETECTION SPROUT_VERSION_NUMBER(__PGIC__, __PGIC_MINOR__, __PGIC_PATCHLEVEL__)
# endif
# if !defined(SPROUT_COMP_PGI_DETECTION)
# define SPROUT_COMP_PGI_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_PGI_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_PGI_EMULATED SPROUT_COMP_PGI_DETECTION
# else
# undef SPROUT_COMP_PGI
# define SPROUT_COMP_PGI SPROUT_COMP_PGI_DETECTION
# endif
# define SPROUT_COMP_PGI_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_PGI_NAME "Portland Group C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_PGI_HPP

View file

@ -0,0 +1,41 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_SGI_MIPSPRO_HPP
#define SPROUT_PREDEF_COMPILER_SGI_MIPSPRO_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_SGI 0
#if defined(__sgi) || defined(sgi)
# if !defined(SPROUT_COMP_SGI_DETECTION) && defined(_SGI_COMPILER_VERSION)
# define SPROUT_COMP_SGI_DETECTION SPROUT_PREDEF_MAKE_10_VRP(_SGI_COMPILER_VERSION)
# endif
# if !defined(SPROUT_COMP_SGI_DETECTION) && defined(_COMPILER_VERSION)
# define SPROUT_COMP_SGI_DETECTION SPROUT_PREDEF_MAKE_10_VRP(_COMPILER_VERSION)
# endif
# if !defined(SPROUT_COMP_SGI_DETECTION)
# define SPROUT_COMP_SGI_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_SGI_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_SGI_EMULATED SPROUT_COMP_SGI_DETECTION
# else
# undef SPROUT_COMP_SGI
# define SPROUT_COMP_SGI SPROUT_COMP_SGI_DETECTION
# endif
# define SPROUT_COMP_SGI_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_SGI_NAME "SGI MIPSpro"
#endif //#ifndef SPROUT_PREDEF_COMPILER_SGI_MIPSPRO_HPP

View file

@ -0,0 +1,49 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_SUNPRO_HPP
#define SPROUT_PREDEF_COMPILER_SUNPRO_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_SUNPRO 0
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C)
# if !defined(SPROUT_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_CC)
# if (__SUNPRO_CC < 0x5100)
# define SPROUT_COMP_SUNPRO_DETECTION SPROUT_PREDEF_MAKE_0X_VRP(__SUNPRO_CC)
# else
# define SPROUT_COMP_SUNPRO_DETECTION SPROUT_PREDEF_MAKE_0X_VVRRP(__SUNPRO_CC)
# endif
# endif
# if !defined(SPROUT_COMP_SUNPRO_DETECTION) && defined(__SUNPRO_C)
# if (__SUNPRO_C < 0x5100)
# define SPROUT_COMP_SUNPRO_DETECTION SPROUT_PREDEF_MAKE_0X_VRP(__SUNPRO_C)
# else
# define SPROUT_COMP_SUNPRO_DETECTION SPROUT_PREDEF_MAKE_0X_VVRRP(__SUNPRO_C)
# endif
# endif
# if !defined(SPROUT_COMP_SUNPRO_DETECTION)
# define SPROUT_COMP_SUNPRO_DETECTION 1
# endif
#endif
#ifdef SPROUT_COMP_SUNPRO_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_SUNPRO_EMULATED SPROUT_COMP_SUNPRO_DETECTION
# else
# undef SPROUT_COMP_SUNPRO
# define SPROUT_COMP_SUNPRO SPROUT_COMP_SUNPRO_DETECTION
# endif
# define SPROUT_COMP_SUNPRO_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_SUNPRO_NAME "Oracle Solaris Studio"
#endif //#ifndef SPROUT_PREDEF_COMPILER_SUNPRO_HPP

View file

@ -0,0 +1,32 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_TENDRA_HPP
#define SPROUT_PREDEF_COMPILER_TENDRA_HPP
#include <sprout/config.hpp>
#define SPROUT_COMP_TENDRA 0
#if defined(__TenDRA__)
# define SPROUT_COMP_TENDRA_DETECTION 1
#endif
#ifdef SPROUT_COMP_TENDRA_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_TENDRA_EMULATED SPROUT_COMP_TENDRA_DETECTION
# else
# undef SPROUT_COMP_TENDRA
# define SPROUT_COMP_TENDRA SPROUT_COMP_TENDRA_DETECTION
# endif
# define SPROUT_COMP_TENDRA_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_TENDRA_NAME "TenDRA C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_TENDRA_HPP

View file

@ -0,0 +1,51 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_VISUALC_HPP
#define SPROUT_PREDEF_COMPILER_VISUALC_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#include <sprout/predef/compiler/clang.hpp>
#define SPROUT_COMP_MSVC 0
#if defined(_MSC_VER)
# if !defined (_MSC_FULL_VER)
# define SPROUT_COMP_MSVC_BUILD 0
# else
# if _MSC_FULL_VER / 10000 == _MSC_VER
# define SPROUT_COMP_MSVC_BUILD (_MSC_FULL_VER % 10000)
# elif _MSC_FULL_VER / 100000 == _MSC_VER
# define SPROUT_COMP_MSVC_BUILD (_MSC_FULL_VER % 100000)
# else
# error "Cannot determine build number from _MSC_FULL_VER"
# endif
# endif
# if (_MSC_VER >= 1900)
# define SPROUT_COMP_MSVC_DETECTION \
SPROUT_VERSION_NUMBER(_MSC_VER / 100 - 5, _MSC_VER % 100, SPROUT_COMP_MSVC_BUILD)
# else
# define SPROUT_COMP_MSVC_DETECTION \
SPROUT_VERSION_NUMBER(_MSC_VER / 100 - 6, _MSC_VER % 100, SPROUT_COMP_MSVC_BUILD)
# endif
#endif
#ifdef SPROUT_COMP_MSVC_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_MSVC_EMULATED SPROUT_COMP_MSVC_DETECTION
# else
# undef SPROUT_COMP_MSVC
# define SPROUT_COMP_MSVC SPROUT_COMP_MSVC_DETECTION
# endif
# define SPROUT_COMP_MSVC_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_MSVC_NAME "Microsoft Visual C/C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_VISUALC_HPP

View file

@ -0,0 +1,33 @@
/*=============================================================================
Copyright (c) 2011-2015 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
Distributed under the sprout Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.sprout.org/LICENSE_1_0.txt)
=============================================================================*/
#ifndef SPROUT_PREDEF_COMPILER_WATCOM_HPP
#define SPROUT_PREDEF_COMPILER_WATCOM_HPP
#include <sprout/config.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_COMP_WATCOM 0
#if defined(__WATCOMC__)
# define SPROUT_COMP_WATCOM_DETECTION SPROUT_PREDEF_MAKE_10_VVRR(__WATCOMC__)
#endif
#ifdef SPROUT_COMP_WATCOM_DETECTION
# if defined(SPROUT_PREDEF_DETAIL_COMP_DETECTED)
# define SPROUT_COMP_WATCOM_EMULATED SPROUT_COMP_WATCOM_DETECTION
# else
# undef SPROUT_COMP_WATCOM
# define SPROUT_COMP_WATCOM SPROUT_COMP_WATCOM_DETECTION
# endif
# define SPROUT_COMP_WATCOM_AVAILABLE
# include <sprout/predef/detail/comp_detected.hpp>
#endif
#define SPROUT_COMP_WATCOM_NAME "Watcom C++"
#endif //#ifndef SPROUT_PREDEF_COMPILER_WATCOM_HPP