Skip to content

Commit a16f29d

Browse files
committed
Include Common/Common.hpp in the every precompiled header
1 parent b7252ea commit a16f29d

File tree

34 files changed

+37
-30
lines changed

34 files changed

+37
-30
lines changed

Externals/OPCODE/pch.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <algorithm>
44

55
#include "Common/Platform.hpp"
6+
#include "Common/Common.hpp"
67
#include "xrCore/xrCore.h"
78
#include "xrCore/doug_lea_allocator.h"
89
#include "xrCore/memory_allocator_options.h"

Externals/cximage/ximacfg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ extern "C" void* cxrealloc(void* ptr, size_t size);
88
#ifdef CXIMAGE_AS_SHARED_LIBRARY //must be defined in Release_Shared configuration
99

1010
#include "Common/Platform.hpp"
11+
#include "Common/Common.hpp"
1112
// XXX: dirty hack.
1213
#undef max
1314
#undef min

src/Layers/xrAPI/stdafx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#pragma once
22

33
#include "Common/Platform.hpp"
4+
#include "Common/Common.hpp"

src/Layers/xrRenderPC_R1/stdafx.h

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

33
#include "Common/Platform.hpp"
4+
#include "Common/Common.hpp"
45

56
#ifdef _DEBUG
67
#define D3D_DEBUG_INFO

src/Layers/xrRenderPC_R2/stdafx.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
// stdafx.h : include file for standard system include files,
2-
// or project specific include files that are used frequently, but
3-
// are changed infrequently
4-
51
#pragma once
62

73
#include "Common/Platform.hpp"
4+
#include "Common/Common.hpp"
85

96
#ifdef _DEBUG
107
#define D3D_DEBUG_INFO

src/Layers/xrRenderPC_R3/stdafx.h

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

33
#include "Common/Platform.hpp"
4+
#include "Common/Common.hpp"
45

56
#ifdef _DEBUG
67
#define D3D_DEBUG_INFO

src/Layers/xrRenderPC_R4/stdafx.h

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

33
#include "Common/Platform.hpp"
4+
#include "Common/Common.hpp"
45

56
#ifdef _DEBUG
67
#define D3D_DEBUG_INFO

src/editors/xrManagedApi/Pch.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#pragma once
22
#include "Common/Platform.hpp"
3+
#include "Common/Common.hpp"
4+
35
// XXX nitrocaster: move to src/Common.hpp (common engine header)
4-
#define DLL_API __declspec(dllimport)
6+
#define DLL_API XR_IMPORT

src/editors/xrWeatherEditor/pch.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#pragma managed(push, off)
1212
#include "Common/Platform.hpp"
13+
#include "Common/Common.hpp"
1314
#include "xrCommon/inlining_macros.h"
1415
#pragma managed(pop)
1516

src/utils/ETools/StdAfx.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#define NO_XRC_STATS
44

55
#include "Common/Platform.hpp"
6+
#include "Common/Common.hpp"
67
#include "xrCore/xrCore.h"
78

89
#pragma warning(push)

0 commit comments

Comments
 (0)