Add BeforeBoost.h and tidy up beast system headers

This commit is contained in:
Vinnie Falco
2013-09-01 08:48:52 -07:00
parent 37216bed4d
commit 81a4711e66
33 changed files with 542 additions and 401 deletions

View File

@@ -6,7 +6,7 @@
#include "BeastConfig.h"
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#include "beast/modules/beast_core/beast_core.h"
#include <boost/bimap.hpp>
#include <boost/bimap/list_of.hpp>

View File

@@ -7,8 +7,6 @@
#ifndef RIPPLE_APP_H_INCLUDED
#define RIPPLE_APP_H_INCLUDED
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#if BEAST_LINUX || BEAST_MAC || BEAST_BSD
#include <sys/resource.h>
#endif
@@ -19,6 +17,7 @@
// purely abstract and move implementation into .cpp files.
//
#include "beast/modules/beast_core/system/BeforeBoost.h" // must come first
#include <boost/algorithm/string/predicate.hpp>
#include <boost/array.hpp>
#include <boost/asio/read_until.hpp>

View File

@@ -6,8 +6,7 @@
#include "BeastConfig.h"
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#include "beast/modules/beast_core/system/BeforeBoost.h" // must come first
#include <boost/bimap.hpp>
#include <boost/bimap/multiset_of.hpp>
#include <boost/bimap/unordered_set_of.hpp>

View File

@@ -39,8 +39,7 @@
//------------------------------------------------------------------------------
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#include "beast/modules/beast_core/system/BeforeBoost.h" // must come first
#include "system/ripple_BoostIncludes.h"
#include "system/ripple_OpenSSLIncludes.h"

View File

@@ -7,7 +7,7 @@
#ifndef RIPPLE_HYPERLEVELDB_RIPPLEHEADER
#define RIPPLE_HYPERLEVELDB_RIPPLEHEADER
#include "beast/modules/beast_core/system/beast_TargetPlatform.h"
#include "beast/modules/beast_core/system/TargetPlatform.h"
#if ! BEAST_WIN32

View File

@@ -10,7 +10,7 @@
#include "ripple_leveldb.h"
#include "beast/modules/beast_core/system/beast_TargetPlatform.h"
#include "beast/modules/beast_core/system/TargetPlatform.h"
// Set the appropriate LevelDB platform macro based on our platform.
//

View File

@@ -7,7 +7,7 @@
#ifndef RIPPLE_MDB_H_INCLUDED
#define RIPPLE_MDB_H_INCLUDED
#include "beast/modules/beast_core/system/beast_TargetPlatform.h"
#include "beast/modules/beast_core/system/TargetPlatform.h"
#if ! BEAST_WIN32
#define RIPPLE_MDB_AVAILABLE 1

View File

@@ -12,8 +12,7 @@
#include "BeastConfig.h"
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#include "beast/modules/beast_core/system/BeforeBoost.h" // must come first
#include <boost/version.hpp>
#include <boost/asio/io_service.hpp>
#include <boost/asio/ssl.hpp>

View File

@@ -7,8 +7,7 @@
#ifndef RIPPLE_NET_H_INCLUDED
#define RIPPLE_NET_H_INCLUDED
#include "beast/modules/beast_core/beast_core.h" // Must come before <boost/bind.hpp>
#include "beast/modules/beast_core/system/BeforeBoost.h" // must come first
#include <boost/unordered_set.hpp> // For InfoSub
#include "beast/modules/beast_asio/beast_asio.h"