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,18 @@
/*=============================================================================
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_LIBRARY_C_HPP
#define SPROUT_PREDEF_LIBRARY_C_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#include <sprout/predef/library/c/gnu.hpp>
#include <sprout/predef/library/c/uc.hpp>
#include <sprout/predef/library/c/vms.hpp>
#include <sprout/predef/library/c/zos.hpp>
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_HPP

View file

@ -0,0 +1,40 @@
/*=============================================================================
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_LIBRARY_C_GNU_HPP
#define SPROUT_PREDEF_LIBRARY_C_GNU_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#if defined(__STDC__)
# include <stddef.h>
#elif defined(__cplusplus)
# include <cstddef>
#endif
#define SPROUT_LIB_C_GNU 0
#if defined(__GLIBC__) || defined(__GNU_LIBRARY__)
# undef SPROUT_LIB_C_GNU
# if defined(__GLIBC__)
# define SPROUT_LIB_C_GNU \
SPROUT_VERSION_NUMBER(__GLIBC__, __GLIBC_MINOR__, 0)
# else
# define SPROUT_LIB_C_GNU \
SPROUT_VERSION_NUMBER(__GNU_LIBRARY__, __GNU_LIBRARY_MINOR__, 0)
# endif
#endif
#if SPROUT_LIB_C_GNU
# define SPROUT_LIB_C_GNU_AVAILABLE
#endif
#define SPROUT_LIB_C_GNU_NAME "GNU"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_GNU_HPP

View file

@ -0,0 +1,14 @@
/*=============================================================================
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_LIBRARY_C_PREFIX_HPP
#define SPROUT_PREDEF_LIBRARY_C_PREFIX_HPP
#include <cassert>
#include <sprout/config.hpp>
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_PREFIX_HPP

View file

@ -0,0 +1,29 @@
/*=============================================================================
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_LIBRARY_C_UC_HPP
#define SPROUT_PREDEF_LIBRARY_C_UC_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_LIB_C_UC 0
#if defined(__UCLIBC__)
# undef SPROUT_LIB_C_UC
# define SPROUT_LIB_C_UC \
SPROUT_VERSION_NUMBER(__UCLIBC_MAJOR__, __UCLIBC_MINOR__, __UCLIBC_SUBLEVEL__)
#endif
#if SPROUT_LIB_C_UC
# define SPROUT_LIB_C_UC_AVAILABLE
#endif
#define SPROUT_LIB_C_UC_NAME "uClibc"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_UC_HPP

View file

@ -0,0 +1,28 @@
/*=============================================================================
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_LIBRARY_C_VMS_HPP
#define SPROUT_PREDEF_LIBRARY_C_VMS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_C_VMS 0
#if defined(__CRTL_VER)
# undef SPROUT_LIB_C_VMS
# define SPROUT_LIB_C_VMS SPROUT_PREDEF_MAKE_10_VVRR0PP00(__CRTL_VER)
#endif
#if SPROUT_LIB_C_VMS
# define SPROUT_LIB_C_VMS_AVAILABLE
#endif
#define SPROUT_LIB_C_VMS_NAME "VMS"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_VMS_HPP

View file

@ -0,0 +1,36 @@
/*=============================================================================
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_LIBRARY_C_ZOS_HPP
#define SPROUT_PREDEF_LIBRARY_C_ZOS_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/c/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_C_ZOS 0
#if defined(__LIBREL__)
# undef SPROUT_LIB_C_ZOS
# if !defined(SPROUT_LIB_C_ZOS) && defined(__LIBREL__)
# define SPROUT_LIB_C_ZOS SPROUT_PREDEF_MAKE_0X_VRRPPPP(__LIBREL__)
# endif
# if !defined(SPROUT_LIB_C_ZOS) && defined(__TARGET_LIB__)
# define SPROUT_LIB_C_ZOS SPROUT_PREDEF_MAKE_0X_VRRPPPP(__TARGET_LIB__)
# endif
# if !defined(SPROUT_LIB_C_ZOS)
# define SPROUT_LIB_C_ZOS 1
# endif
#endif
#if SPROUT_LIB_C_ZOS
# define SPROUT_LIB_C_ZOS_AVAILABLE
#endif
#define SPROUT_LIB_C_ZOS_NAME "z/OS"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_C_ZOS_HPP

View file

@ -0,0 +1,24 @@
/*=============================================================================
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_LIBRARY_STD_HPP
#define SPROUT_PREDEF_LIBRARY_STD_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/library/std/cxx.hpp>
#include <sprout/predef/library/std/dinkumware.hpp>
#include <sprout/predef/library/std/libcomo.hpp>
#include <sprout/predef/library/std/modena.hpp>
#include <sprout/predef/library/std/msl.hpp>
#include <sprout/predef/library/std/roguewave.hpp>
#include <sprout/predef/library/std/sgi.hpp>
#include <sprout/predef/library/std/stdcpp3.hpp>
#include <sprout/predef/library/std/stlport.hpp>
#include <sprout/predef/library/std/vacpp.hpp>
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_HPP

View file

@ -0,0 +1,28 @@
/*=============================================================================
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_LIBRARY_STD_CXX_HPP
#define SPROUT_PREDEF_LIBRARY_STD_CXX_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_CXX 0
#if defined(_LIBCPP_VERSION)
# undef SPROUT_LIB_STD_CXX
# define SPROUT_LIB_STD_CXX SPROUT_PREDEF_MAKE_10_VPPP(_LIBCPP_VERSION)
#endif
#if SPROUT_LIB_STD_CXX
# define SPROUT_LIB_STD_CXX_AVAILABLE
#endif
#define SPROUT_LIB_STD_CXX_NAME "libc++"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_CXX_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_LIBRARY_STD_DINKUMWARE_HPP
#define SPROUT_PREDEF_LIBRARY_STD_DINKUMWARE_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_DINKUMWARE 0
#if (defined(_YVALS) && !defined(__IBMCPP__)) || defined(_CPPLIB_VER)
# undef SPROUT_LIB_STD_DINKUMWARE
# if defined(_CPPLIB_VER)
# define SPROUT_LIB_STD_DINKUMWARE SPROUT_PREDEF_MAKE_10_VVRR(_CPPLIB_VER)
# else
# define SPROUT_LIB_STD_DINKUMWARE 1
# endif
#endif
#if SPROUT_LIB_STD_DINKUMWARE
# define SPROUT_LIB_STD_DINKUMWARE_AVAILABLE
#endif
#define SPROUT_LIB_STD_DINKUMWARE_NAME "Dinkumware"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_DINKUMWARE_HPP

View file

@ -0,0 +1,28 @@
/*=============================================================================
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_LIBRARY_STD_LIBCOMO_HPP
#define SPROUT_PREDEF_LIBRARY_STD_LIBCOMO_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_LIB_STD_COMO 0
#if defined(__LIBCOMO__)
# undef SPROUT_LIB_STD_COMO
# define SPROUT_LIB_STD_COMO SPROUT_VERSION_NUMBER(__LIBCOMO_VERSION__, 0, 0)
#endif
#if SPROUT_LIB_STD_COMO
# define SPROUT_LIB_STD_COMO_AVAILABLE
#endif
#define SPROUT_LIB_STD_COMO_NAME "Comeau Computing"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_LIBCOMO_HPP

View file

@ -0,0 +1,27 @@
/*=============================================================================
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_LIBRARY_STD_MODENA_HPP
#define SPROUT_PREDEF_LIBRARY_STD_MODENA_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#define SPROUT_LIB_STD_MSIPL 0
#if defined(MSIPL_COMPILE_H) || defined(__MSIPL_COMPILE_H)
# undef SPROUT_LIB_STD_MSIPL
# define SPROUT_LIB_STD_MSIPL 1
#endif
#if SPROUT_LIB_STD_MSIPL
# define SPROUT_LIB_STD_MSIPL_AVAILABLE
#endif
#define SPROUT_LIB_STD_MSIPL_NAME "Modena Software Lib++"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_MODENA_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_LIBRARY_STD_MSL_HPP
#define SPROUT_PREDEF_LIBRARY_STD_MSL_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_MSL 0
#if defined(__MSL_CPP__) || defined(__MSL__)
# undef SPROUT_LIB_STD_MSL
# if defined(__MSL_CPP__)
# define SPROUT_LIB_STD_MSL SPROUT_PREDEF_MAKE_0X_VRPP(__MSL_CPP__)
# else
# define SPROUT_LIB_STD_MSL SPROUT_PREDEF_MAKE_0X_VRPP(__MSL__)
# endif
#endif
#if SPROUT_LIB_STD_MSL
# define SPROUT_LIB_STD_MSL_AVAILABLE
#endif
#define SPROUT_LIB_STD_MSL_NAME "Metrowerks"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_MSL_HPP

View file

@ -0,0 +1,14 @@
/*=============================================================================
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_LIBRARY_STD_PREFIX_HPP
#define SPROUT_PREDEF_LIBRARY_STD_PREFIX_HPP
#include <exception>
#include <sprout/config.hpp>
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_PREFIX_HPP

View file

@ -0,0 +1,36 @@
/*=============================================================================
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_LIBRARY_STD_ROGUEWAVE_HPP
#define SPROUT_PREDEF_LIBRARY_STD_ROGUEWAVE_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_RW 0
#if defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)
# undef SPROUT_LIB_STD_RW
# if defined(_RWSTD_VER)
# if _RWSTD_VER < 0x010000
# define SPROUT_LIB_STD_RW SPROUT_PREDEF_MAKE_0X_VVRRP(_RWSTD_VER)
# else
# define SPROUT_LIB_STD_RW SPROUT_PREDEF_MAKE_0X_VVRRPP(_RWSTD_VER)
# endif
# else
# define SPROUT_LIB_STD_RW 1
# endif
#endif
#if SPROUT_LIB_STD_RW
# define SPROUT_LIB_STD_RW_AVAILABLE
#endif
#define SPROUT_LIB_STD_RW_NAME "Roguewave"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_ROGUEWAVE_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_LIBRARY_STD_SGI_HPP
#define SPROUT_PREDEF_LIBRARY_STD_SGI_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_SGI 0
#if defined(__STL_CONFIG_H)
# undef SPROUT_LIB_STD_SGI
# if defined(__SGI_STL)
# define SPROUT_LIB_STD_SGI SPROUT_PREDEF_MAKE_0X_VRP(__SGI_STL)
# else
# define SPROUT_LIB_STD_SGI 1
# endif
#endif
#if SPROUT_LIB_STD_SGI
# define SPROUT_LIB_STD_SGI_AVAILABLE
#endif
#define SPROUT_LIB_STD_SGI_NAME "SGI"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_SGI_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_LIBRARY_STD_STDCPP3_HPP
#define SPROUT_PREDEF_LIBRARY_STD_STDCPP3_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_GNU 0
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
# undef SPROUT_LIB_STD_GNU
# if defined(__GLIBCXX__)
# define SPROUT_LIB_STD_GNU SPROUT_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
# else
# define SPROUT_LIB_STD_GNU SPROUT_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
# endif
#endif
#if SPROUT_LIB_STD_GNU
# define SPROUT_LIB_STD_GNU_AVAILABLE
#endif
#define SPROUT_LIB_STD_GNU_NAME "GNU"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_STDCPP3_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_LIBRARY_STD_STLPORT_HPP
#define SPROUT_PREDEF_LIBRARY_STD_STLPORT_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#include <sprout/predef/version_number.hpp>
#include <sprout/predef/make.hpp>
#define SPROUT_LIB_STD_STLPORT 0
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
# undef SPROUT_LIB_STD_STLPORT
# if !defined(SPROUT_LIB_STD_STLPORT) && defined(_STLPORT_MAJOR)
# define SPROUT_LIB_STD_STLPORT \
SPROUT_VERSION_NUMBER(_STLPORT_MAJOR, _STLPORT_MINOR, _STLPORT_PATCHLEVEL)
# endif
# if !defined(SPROUT_LIB_STD_STLPORT) && defined(_STLPORT_VERSION)
# define SPROUT_LIB_STD_STLPORT SPROUT_PREDEF_MAKE_0X_VRP(_STLPORT_VERSION)
# endif
# if !defined(SPROUT_LIB_STD_STLPORT)
# define SPROUT_LIB_STD_STLPORT SPROUT_PREDEF_MAKE_0X_VRP(__SGI_STL_PORT)
# endif
#endif
#if SPROUT_LIB_STD_STLPORT
# define SPROUT_LIB_STD_STLPORT_AVAILABLE
#endif
#define SPROUT_LIB_STD_STLPORT_NAME "STLport"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_STLPORT_HPP

View file

@ -0,0 +1,27 @@
/*=============================================================================
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_LIBRARY_STD_VACPP_HPP
#define SPROUT_PREDEF_LIBRARY_STD_VACPP_HPP
#include <sprout/config.hpp>
#include <sprout/predef/library/std/prefix.hpp>
#define SPROUT_LIB_STD_IBM 0
#if defined(__IBMCPP__)
# undef SPROUT_LIB_STD_IBM
# define SPROUT_LIB_STD_IBM 1
#endif
#if SPROUT_LIB_STD_IBM
# define SPROUT_LIB_STD_IBM_AVAILABLE
#endif
#define SPROUT_LIB_STD_IBM_NAME "IBM VACPP"
#endif //#ifndef SPROUT_PREDEF_LIBRARY_STD_VACPP_HPP