Move TargetPlatform.h to beast/Config.h

This commit is contained in:
Vinnie Falco
2013-09-19 09:00:48 -07:00
parent 874b5240d2
commit ebbd9ff414
7 changed files with 13 additions and 10 deletions

View File

@@ -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" />

View File

@@ -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">

View File

@@ -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

View File

@@ -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"

View File

@@ -24,7 +24,8 @@
#ifndef BEAST_BASICNATIVEHEADERS_H_INCLUDED
#define BEAST_BASICNATIVEHEADERS_H_INCLUDED
#include "../system/TargetPlatform.h"
#include "../../../beast/Config.h"
#undef T
//==============================================================================

View File

@@ -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.

View File

@@ -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