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,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