Skip to content

Commit cb57c1b

Browse files
authored
refactor: Remove redundant CppMacros.h includes (#1706)
1 parent 6748e68 commit cb57c1b

File tree

6 files changed

+0
-7
lines changed

6 files changed

+0
-7
lines changed

Core/Libraries/Source/WWVegas/WW3D2/intersec.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
#include "camera.h"
4141
#include "scene.h"
4242
#include "intersec.inl"
43-
#include "Utility/CppMacros.h"
4443

4544

4645
//////////////////////////////////////////////////////////////////////

Core/Libraries/Source/WWVegas/WWLib/always.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
// TheSuperHackers @build feliwir 17/04/2025 include utility macros for cross-platform compatibility
5050
#include <Utility/compat.h>
5151
#include <Utility/stdint_adapter.h>
52-
#include <Utility/CppMacros.h>
5352

5453
// Disable warning about exception handling not being enabled. It's used as part of STL - in a part of STL we don't use.
5554
#pragma warning(disable : 4530)

Dependencies/Utility/Utility/endian_compat.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
// This file contains macros to help with endian conversions between different endian systems.
2020
#pragma once
2121

22-
// VC6 does not support pragma once
2322
#ifndef ENDIAN_COMPAT_H
2423
#define ENDIAN_COMPAT_H
2524

Generals/Code/GameEngine/Source/GameNetwork/NetPacket.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "GameNetwork/NetworkDefs.h"
3232
#include "GameNetwork/networkutil.h"
3333
#include "GameNetwork/GameMessageParser.h"
34-
#include <Utility/CppMacros.h>
3534

3635
// TheSuperHackers @refactor BobTista 10/06/2025 Extract magic character literals into named constants for improved readability
3736
typedef UnsignedByte NetPacketFieldType;

GeneralsMD/Code/GameEngine/Source/GameLogic/AI/AIPathfind.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@
5252

5353
#include "Common/UnitTimings.h" //Contains the DO_UNIT_TIMINGS define jba.
5454

55-
#include "Utility/CppMacros.h"
56-
5755
#define no_INTENSE_DEBUG
5856

5957
#define DEBUG_QPF

GeneralsMD/Code/GameEngine/Source/GameNetwork/NetPacket.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
#include "GameNetwork/NetworkDefs.h"
3232
#include "GameNetwork/networkutil.h"
3333
#include "GameNetwork/GameMessageParser.h"
34-
#include <Utility/CppMacros.h>
3534

3635
// TheSuperHackers @refactor BobTista 10/06/2025 Extract magic character literals into named constants for improved readability
3736
typedef UnsignedByte NetPacketFieldType;

0 commit comments

Comments
 (0)