mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
74 lines
2.5 KiB
C++
74 lines
2.5 KiB
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
This file is part of Beast: https://github.com/vinniefalco/Beast
|
|
Copyright 2013, Vinnie Falco <vinnie.falco@gmail.com>
|
|
|
|
Portions of this file are from JUCE.
|
|
Copyright (c) 2013 - Raw Material Software Ltd.
|
|
Please visit http://www.juce.com
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted, provided that the above
|
|
copyright notice and this permission notice appear in all copies.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
//==============================================================================
|
|
|
|
#ifndef BEAST_CORE_SYSTEM_BOOSTINCLUDES_H_INCLUDED
|
|
#define BEAST_CORE_SYSTEM_BOOSTINCLUDES_H_INCLUDED
|
|
|
|
// If boost is available we activate some boost-specific features.
|
|
//
|
|
#ifndef BEAST_BOOST_IS_AVAILABLE
|
|
# define BEAST_BOOST_IS_AVAILABLE 0
|
|
#endif
|
|
|
|
//------------------------------------------------------------------------------
|
|
#if BEAST_BOOST_IS_AVAILABLE
|
|
|
|
#include <boost/version.hpp>
|
|
#if BOOST_VERSION > 105499
|
|
# error "This hasnt been tested with boost versions above 1.54"
|
|
#endif
|
|
|
|
// Used for FifoFreeStoreWithTLS
|
|
#include <boost/thread/tss.hpp>
|
|
|
|
// This is a hack to fix boost's goofy placeholders
|
|
#ifdef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
|
|
#error <boost/bind.hpp> must not be included before this file
|
|
#endif
|
|
|
|
// Prevent <boost/bind/placeholders.hpp> from being included
|
|
#define BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED
|
|
#include <boost/bind/arg.hpp>
|
|
#include <boost/config.hpp>
|
|
|
|
// This based on <boost/bind/placeholders.cpp>
|
|
namespace boost {
|
|
namespace placeholders {
|
|
extern boost::arg<1> _1;
|
|
extern boost::arg<2> _2;
|
|
extern boost::arg<3> _3;
|
|
extern boost::arg<4> _4;
|
|
extern boost::arg<5> _5;
|
|
extern boost::arg<6> _6;
|
|
extern boost::arg<7> _7;
|
|
extern boost::arg<8> _8;
|
|
extern boost::arg<9> _9;
|
|
}
|
|
using namespace placeholders;
|
|
}
|
|
|
|
#endif
|
|
//------------------------------------------------------------------------------
|
|
|
|
#endif
|