mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 16:05:51 +00:00
Move TargetPlatform.h to beast/Config.h
This commit is contained in:
@@ -69,6 +69,7 @@
|
||||
<None Include="..\..\README.md" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\beast\Config.h" />
|
||||
<ClInclude Include="..\..\beast\intrusive\ForwardList.h" />
|
||||
<ClInclude Include="..\..\beast\intrusive\PointerTraits.h" />
|
||||
<ClInclude Include="..\..\beast\mpl.h" />
|
||||
@@ -244,7 +245,6 @@
|
||||
<ClInclude Include="..\..\modules\beast_core\system\PlatformDefs.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\StandardHeader.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\SystemStats.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\TargetPlatform.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\BeforeBoost.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\BoostIncludes.h" />
|
||||
<ClInclude Include="..\..\modules\beast_core\system\BoostPlaceholdersFix.h" />
|
||||
|
||||
@@ -807,9 +807,6 @@
|
||||
<ClInclude Include="..\..\modules\beast_core\system\SystemStats.h">
|
||||
<Filter>beast_core\system</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\modules\beast_core\system\TargetPlatform.h">
|
||||
<Filter>beast_core\system</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\modules\beast_core\containers\DynamicList.h">
|
||||
<Filter>beast_core\containers</Filter>
|
||||
</ClInclude>
|
||||
@@ -1041,6 +1038,9 @@
|
||||
<ClInclude Include="..\..\beast\net\IPEndpoint.h">
|
||||
<Filter>beast\net</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\beast\Config.h">
|
||||
<Filter>beast</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\modules\beast_core\containers\AbstractFifo.cpp">
|
||||
|
||||
@@ -21,8 +21,10 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef BEAST_CORE_TARGETPLATFORM_H_INCLUDED
|
||||
#define BEAST_CORE_TARGETPLATFORM_H_INCLUDED
|
||||
#ifndef BEAST_CONFIG_H_INCLUDED
|
||||
#define BEAST_CONFIG_H_INCLUDED
|
||||
|
||||
// VFALCO NOTE this is analogous to <boost/config.hpp>
|
||||
|
||||
//==============================================================================
|
||||
/* This file figures out which platform is being built, and defines some macros
|
||||
@@ -173,7 +173,7 @@ Some files contain portions of these external projects, licensed separately:
|
||||
*/
|
||||
|
||||
// TargetPlatform.h should not use anything from BeastConfig.h
|
||||
#include "system/TargetPlatform.h"
|
||||
#include "../../beast/Config.h"
|
||||
#include "system/BeastConfigCheck.h"
|
||||
|
||||
# include "system/BeforeBoost.h"
|
||||
|
||||
@@ -24,7 +24,8 @@
|
||||
#ifndef BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
||||
#define BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
||||
|
||||
#include "../system/TargetPlatform.h"
|
||||
#include "../../../beast/Config.h"
|
||||
|
||||
#undef T
|
||||
|
||||
//==============================================================================
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#define BEAST_CORE_SYSTEM_BEFOREBOOST_H_INCLUDED
|
||||
|
||||
// TargetPlatform.h should not use anything from BeastConfig.h
|
||||
#include "TargetPlatform.h"
|
||||
#include "../../../beast/Config.h"
|
||||
#include "BeastConfigCheck.h"
|
||||
|
||||
// This file should be included before including any boost headers.
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
see BeastConfig.h.
|
||||
*/
|
||||
|
||||
#include "../beast_core/system/TargetPlatform.h"
|
||||
#include "../../../beast/beast/Config.h"
|
||||
|
||||
#if BEAST_IOS || BEAST_MAC
|
||||
# define BEAST_HAVE_NATIVE_SQLITE 1
|
||||
|
||||
Reference in New Issue
Block a user