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,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_PLATFORM_MINGW_HPP
#define SPROUT_PREDEF_PLATFORM_MINGW_HPP
#include <sprout/config.hpp>
#include <sprout/predef/version_number.hpp>
#define SPROUT_PLAT_MINGW 0
#if defined(__MINGW32__) || defined(__MINGW64__)
# include <_mingw.h>
# if !defined(SPROUT_PLAT_MINGW_DETECTION) && (defined(__MINGW64_VERSION_MAJOR) && defined(__MINGW64_VERSION_MINOR))
# define SPROUT_PLAT_MINGW_DETECTION \
SPROUT_VERSION_NUMBER(__MINGW64_VERSION_MAJOR, __MINGW64_VERSION_MINOR, 0)
# endif
# if !defined(SPROUT_PLAT_MINGW_DETECTION) && (defined(__MINGW32_VERSION_MAJOR) && defined(__MINGW32_VERSION_MINOR))
# define SPROUT_PLAT_MINGW_DETECTION \
SPROUT_VERSION_NUMBER(__MINGW32_MAJOR_VERSION, __MINGW32_MINOR_VERSION, 0)
# endif
# if !defined(SPROUT_PLAT_MINGW_DETECTION)
# define SPROUT_PLAT_MINGW_DETECTION 1
# endif
#endif
#ifdef SPROUT_PLAT_MINGW_DETECTION
# define SPROUT_PLAT_MINGW_AVAILABLE
# if defined(SPROUT_PREDEF_DETAIL_PLAT_DETECTED)
# define SPROUT_PLAT_MINGW_EMULATED SPROUT_PLAT_MINGW_DETECTION
# else
# undef SPROUT_PLAT_MINGW
# define SPROUT_PLAT_MINGW SPROUT_PLAT_MINGW_DETECTION
# endif
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_MINGW_NAME "MinGW"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_MINGW_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_PLATFORM_WINDOWS_DESKTOP_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_DESKTOP_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_DESKTOP 0
#if SPROUT_OS_WINDOWS && (!defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP))
# undef SPROUT_PLAT_WINDOWS_DESKTOP
# define SPROUT_PLAT_WINDOWS_DESKTOP 1
#endif
#if SPROUT_PLAT_WINDOWS_DESKTOP
# define SPROUT_PLAT_WINDOWS_DESKTOP_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_DESKTOP_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_PLATFORM_WINDOWS_PHONE_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_PHONE_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_PHONE 0
#if SPROUT_OS_WINDOWS && defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
# undef SPROUT_PLAT_WINDOWS_PHONE
# define SPROUT_PLAT_WINDOWS_PHONE 1
#endif
#if SPROUT_PLAT_WINDOWS_PHONE
# define SPROUT_PLAT_WINDOWS_PHONE_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_PHONE_NAME "Windows Phone"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_PHONE_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_PLATFORM_WINDOWS_RUNTIME_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_RUNTIME_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_RUNTIME 0
#if SPROUT_OS_WINDOWS && defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
# undef SPROUT_PLAT_WINDOWS_RUNTIME
# define SPROUT_PLAT_WINDOWS_RUNTIME 1
#endif
#if SPROUT_PLAT_WINDOWS_RUNTIME
# define SPROUT_PLAT_WINDOWS_RUNTIME_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_RUNTIME_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_PLATFORM_WINDOWS_STORE_HPP
#define SPROUT_PREDEF_PLATFORM_WINDOWS_STORE_HPP
#include <sprout/config.hpp>
#include <sprout/predef/os/windows.hpp>
#define SPROUT_PLAT_WINDOWS_STORE 0
#if SPROUT_OS_WINDOWS && defined(WINAPI_FAMILY) && WINAPI_FAMILY == WINAPI_FAMILY_APP
# undef SPROUT_PLAT_WINDOWS_STORE
# define SPROUT_PLAT_WINDOWS_STORE 1
#endif
#if SPROUT_PLAT_WINDOWS_STORE
# define SPROUT_PLAT_WINDOWS_STORE_AVALIABLE
# include <sprout/predef/detail/platform_detected.hpp>
#endif
#define SPROUT_PLAT_WINDOWS_STORE_NAME "Windows Store"
#endif // #ifndef SPROUT_PREDEF_PLATFORM_WINDOWS_STORE_HPP