Skip to content

Commit 94334df

Browse files
committed
Remove unnecessary Platform.hpp includes
1 parent 0abb9ac commit 94334df

File tree

32 files changed

+0
-47
lines changed

32 files changed

+0
-47
lines changed

src/Include/xrAPI/xrAPI.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#include "Common/Platform.hpp"
4-
53
#ifdef XRAPI_EXPORTS
64
#define XRAPI_API XR_EXPORT
75
#else

src/utils/xrAI/factory_api.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#include "Common/Platform.hpp"
4-
53
extern "C" {
64
typedef XR_IMPORT IServerEntity* __stdcall Factory_Create(LPCSTR section);
75
typedef XR_IMPORT void __stdcall Factory_Destroy(IServerEntity*&);

src/utils/xrLCUtil/xrLCUtil.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#pragma comment(lib, "winmm.lib")
55
#pragma comment(lib, "comctl32.lib")
66

7-
#include "Common/Platform.hpp"
8-
97
#ifdef XRLCUTIL_EXPORTS
108
#define XRLCUTIL_API XR_EXPORT
119
#else

src/utils/xrLC_Light/xrLC_Light.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#pragma once
22

3-
#include "Common/Platform.hpp"
43
#include "xrCore/xrCore.h"
54
#ifdef XRLC_LIGHT_EXPORTS
65
#define XRLC_LIGHT_API XR_EXPORT

src/utils/xrLC_Light/xrLight_Implicit.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#include "stdafx.h"
22

3-
#include "Common/Platform.hpp"
4-
53
#include "xrLight_Implicit.h"
64
#include "xrLight_ImplicitDeflector.h"
75
#include "xrLight_ImplicitRun.h"

src/xrAICore/xrAICore.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#pragma once
22

3-
#include "Common/Platform.hpp"
4-
53
#ifdef XRAICORE_EXPORTS
64
#define XRAICORE_API XR_EXPORT
75
#else

src/xrCDB/ISpatial.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#ifndef XRENGINE_ISPATIAL_H_INCLUDED
33
#define XRENGINE_ISPATIAL_H_INCLUDED
44

5-
#include "Common/Platform.hpp"
65
#include "xrCore/xrPool.h"
76
//#include "xr_collide_defs.h"
87
#include "xrCore/_types.h"

src/xrCDB/xrCDB.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#ifndef XRCDB_H
33
#define XRCDB_H
44

5-
#include "Common/Platform.hpp"
65
#include "xrCore/Threading/Lock.hpp" // XXX: Remove from header. Put in .cpp.
76

87
// The following ifdef block is the standard way of creating macros which make exporting

src/xrCore/Debug/StackTrace.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Copyright (c) 1997-2000 John Robbins -- All rights reserved.
1313
#include <psapi.h>
1414
#pragma comment(lib, "psapi.lib")
1515

16-
#include "Common/Platform.hpp"
17-
1816
/*//////////////////////////////////////////////////////////////////////
1917
File Scope Defines
2018
//////////////////////////////////////////////////////////////////////*/

src/xrCore/Debug/SymbolEngine.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ scope, so I didn’t wrap them with this class.
1414
#include <DbgHelp.h>
1515
#include <tchar.h>
1616

17-
#include "Common/Platform.hpp"
18-
1917
// Include these in case the user forgets to link against them.
2018
#pragma comment(lib, "dbghelp.lib")
2119
#pragma comment(lib, "version.lib")

0 commit comments

Comments
 (0)