mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Move TargetPlatform.h to beast/Config.h
This commit is contained in:
@@ -69,6 +69,7 @@
|
|||||||
<None Include="..\..\README.md" />
|
<None Include="..\..\README.md" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<ClInclude Include="..\..\beast\Config.h" />
|
||||||
<ClInclude Include="..\..\beast\intrusive\ForwardList.h" />
|
<ClInclude Include="..\..\beast\intrusive\ForwardList.h" />
|
||||||
<ClInclude Include="..\..\beast\intrusive\PointerTraits.h" />
|
<ClInclude Include="..\..\beast\intrusive\PointerTraits.h" />
|
||||||
<ClInclude Include="..\..\beast\mpl.h" />
|
<ClInclude Include="..\..\beast\mpl.h" />
|
||||||
@@ -244,7 +245,6 @@
|
|||||||
<ClInclude Include="..\..\modules\beast_core\system\PlatformDefs.h" />
|
<ClInclude Include="..\..\modules\beast_core\system\PlatformDefs.h" />
|
||||||
<ClInclude Include="..\..\modules\beast_core\system\StandardHeader.h" />
|
<ClInclude Include="..\..\modules\beast_core\system\StandardHeader.h" />
|
||||||
<ClInclude Include="..\..\modules\beast_core\system\SystemStats.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\BeforeBoost.h" />
|
||||||
<ClInclude Include="..\..\modules\beast_core\system\BoostIncludes.h" />
|
<ClInclude Include="..\..\modules\beast_core\system\BoostIncludes.h" />
|
||||||
<ClInclude Include="..\..\modules\beast_core\system\BoostPlaceholdersFix.h" />
|
<ClInclude Include="..\..\modules\beast_core\system\BoostPlaceholdersFix.h" />
|
||||||
|
|||||||
@@ -807,9 +807,6 @@
|
|||||||
<ClInclude Include="..\..\modules\beast_core\system\SystemStats.h">
|
<ClInclude Include="..\..\modules\beast_core\system\SystemStats.h">
|
||||||
<Filter>beast_core\system</Filter>
|
<Filter>beast_core\system</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\modules\beast_core\system\TargetPlatform.h">
|
|
||||||
<Filter>beast_core\system</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\modules\beast_core\containers\DynamicList.h">
|
<ClInclude Include="..\..\modules\beast_core\containers\DynamicList.h">
|
||||||
<Filter>beast_core\containers</Filter>
|
<Filter>beast_core\containers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -1041,6 +1038,9 @@
|
|||||||
<ClInclude Include="..\..\beast\net\IPEndpoint.h">
|
<ClInclude Include="..\..\beast\net\IPEndpoint.h">
|
||||||
<Filter>beast\net</Filter>
|
<Filter>beast\net</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\beast\Config.h">
|
||||||
|
<Filter>beast</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\modules\beast_core\containers\AbstractFifo.cpp">
|
<ClCompile Include="..\..\modules\beast_core\containers\AbstractFifo.cpp">
|
||||||
|
|||||||
@@ -21,8 +21,10 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#ifndef BEAST_CORE_TARGETPLATFORM_H_INCLUDED
|
#ifndef BEAST_CONFIG_H_INCLUDED
|
||||||
#define BEAST_CORE_TARGETPLATFORM_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
|
/* 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
|
// TargetPlatform.h should not use anything from BeastConfig.h
|
||||||
#include "system/TargetPlatform.h"
|
#include "../../beast/Config.h"
|
||||||
#include "system/BeastConfigCheck.h"
|
#include "system/BeastConfigCheck.h"
|
||||||
|
|
||||||
# include "system/BeforeBoost.h"
|
# include "system/BeforeBoost.h"
|
||||||
|
|||||||
@@ -24,7 +24,8 @@
|
|||||||
#ifndef BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
#ifndef BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
||||||
#define BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
#define BEAST_BASICNATIVEHEADERS_H_INCLUDED
|
||||||
|
|
||||||
#include "../system/TargetPlatform.h"
|
#include "../../../beast/Config.h"
|
||||||
|
|
||||||
#undef T
|
#undef T
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
#define BEAST_CORE_SYSTEM_BEFOREBOOST_H_INCLUDED
|
#define BEAST_CORE_SYSTEM_BEFOREBOOST_H_INCLUDED
|
||||||
|
|
||||||
// TargetPlatform.h should not use anything from BeastConfig.h
|
// TargetPlatform.h should not use anything from BeastConfig.h
|
||||||
#include "TargetPlatform.h"
|
#include "../../../beast/Config.h"
|
||||||
#include "BeastConfigCheck.h"
|
#include "BeastConfigCheck.h"
|
||||||
|
|
||||||
// This file should be included before including any boost headers.
|
// This file should be included before including any boost headers.
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
see BeastConfig.h.
|
see BeastConfig.h.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "../beast_core/system/TargetPlatform.h"
|
#include "../../../beast/beast/Config.h"
|
||||||
|
|
||||||
#if BEAST_IOS || BEAST_MAC
|
#if BEAST_IOS || BEAST_MAC
|
||||||
# define BEAST_HAVE_NATIVE_SQLITE 1
|
# define BEAST_HAVE_NATIVE_SQLITE 1
|
||||||
|
|||||||
Reference in New Issue
Block a user