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:
parent
74669a5a8a
commit
f2c09dd3af
139 changed files with 4800 additions and 202 deletions
34
sprout/predef/os/macos.hpp
Normal file
34
sprout/predef/os/macos.hpp
Normal 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_OS_MACOS_HPP
|
||||
#define SPROUT_PREDEF_OS_MACOS_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/predef/os/ios.hpp>
|
||||
#include <sprout/predef/version_number.hpp>
|
||||
|
||||
#define SPROUT_OS_MACOS 0
|
||||
|
||||
#if !defined(SPROUT_PREDEF_DETAIL_OS_DETECTED) && (defined(macintosh) || defined(Macintosh) || (defined(__APPLE__) && defined(__MACH__)))
|
||||
# undef SPROUT_OS_MACOS
|
||||
# if !defined(SPROUT_OS_MACOS) && defined(__APPLE__) && defined(__MACH__)
|
||||
# define SPROUT_OS_MACOS SPROUT_VERSION_NUMBER(10, 0, 0)
|
||||
# endif
|
||||
# if !defined(SPROUT_OS_MACOS)
|
||||
# define SPROUT_OS_MACOS SPROUT_VERSION_NUMBER(9, 0, 0)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if SPROUT_OS_MACOS
|
||||
# define SPROUT_OS_MACOS_AVAILABLE
|
||||
# include <sprout/predef/detail/os_detected.hpp>
|
||||
#endif
|
||||
|
||||
#define SPROUT_OS_MACOS_NAME "Mac OS"
|
||||
|
||||
#endif // #ifndef SPROUT_PREDEF_OS_MACOS_HPP
|
Loading…
Add table
Add a link
Reference in a new issue