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
40
sprout/predef/version_number.hpp
Normal file
40
sprout/predef/version_number.hpp
Normal file
|
@ -0,0 +1,40 @@
|
|||
/*=============================================================================
|
||||
Copyright (c) 2011-2015 Bolero MURAKAMI
|
||||
https://github.com/bolero-MURAKAMI/Sprout
|
||||
|
||||
Distributed under the Boost Software License, Version 1.0. (See accompanying
|
||||
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
=============================================================================*/
|
||||
#ifndef SPROUT_PREDEF_VERSION_NUMBER_HPP
|
||||
#define SPROUT_PREDEF_VERSION_NUMBER_HPP
|
||||
|
||||
#include <sprout/config.hpp>
|
||||
|
||||
//
|
||||
// SPROUT_VERSION_NUMBER
|
||||
//
|
||||
#define SPROUT_VERSION_NUMBER(MAJOR, MINOR, PATCH) \
|
||||
( (((MAJOR) % 100) * 10000000) + (((MINOR) % 100) * 100000) + ((PATCH) % 100000) )
|
||||
|
||||
//
|
||||
// SPROUT_VERSION_NUMBER_MAX
|
||||
// SPROUT_VERSION_NUMBER_MIN
|
||||
// SPROUT_VERSION_NUMBER_ZERO
|
||||
//
|
||||
#define SPROUT_VERSION_NUMBER_MAX \
|
||||
SPROUT_VERSION_NUMBER(99, 99, 99999)
|
||||
#define SPROUT_VERSION_NUMBER_MIN \
|
||||
SPROUT_VERSION_NUMBER(0, 0, 1)
|
||||
#define SPROUT_VERSION_NUMBER_ZERO \
|
||||
SPROUT_VERSION_NUMBER(0, 0, 0)
|
||||
|
||||
//
|
||||
// SPROUT_VERSION_NUMBER_AVAILABLE
|
||||
// SPROUT_VERSION_NUMBER_NOT_AVAILABLE
|
||||
//
|
||||
#define SPROUT_VERSION_NUMBER_AVAILABLE \
|
||||
SPROUT_VERSION_NUMBER_MIN
|
||||
#define SPROUT_VERSION_NUMBER_NOT_AVAILABLE \
|
||||
SPROUT_VERSION_NUMBER_ZERO
|
||||
|
||||
#endif // #ifndef SPROUT_PREDEF_OS_BSD_BSDI_HPP
|
Loading…
Add table
Add a link
Reference in a new issue