Skip to content

Commit 1df3c49

Browse files
committed
build: add CppMacros.h includes for VC6 nullptr compatibility
1 parent e6c28a4 commit 1df3c49

File tree

395 files changed

+527
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

395 files changed

+527
-0
lines changed

Core/GameEngineDevice/Source/StdDevice/Common/StdBIGFile.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Stephan Vedder, April 2025
2727
/////////////////////////////////////////////////////
2828

29+
#include <Utility/CppMacros.h>
2930
#include "Common/LocalFile.h"
3031
#include "Common/LocalFileSystem.h"
3132
#include "Common/RAMFile.h"

Core/GameEngineDevice/Source/StdDevice/Common/StdBIGFileSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Stephan Vedder, April 2025
2727
/////////////////////////////////////////////////////////////
2828

29+
#include <Utility/CppMacros.h>
2930
#include "Common/AudioAffect.h"
3031
#include "Common/ArchiveFile.h"
3132
#include "Common/ArchiveFileSystem.h"

Core/GameEngineDevice/Source/StdDevice/Common/StdLocalFileSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Stephan Vedder, April 2025
2727
////////////////////////////////////////////////////////////
2828

29+
#include <Utility/CppMacros.h>
2930
#include "Common/AsciiString.h"
3031
#include "Common/GameMemory.h"
3132
#include "Common/PerfTimer.h"

Core/GameEngineDevice/Source/W3DDevice/Common/System/W3DRadar.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
///////////////////////////////////////////////////////////////////////////////////////////////////
3030

3131
// INCLUDES ///////////////////////////////////////////////////////////////////////////////////////
32+
33+
#include <Utility/CppMacros.h>
3234
#include "Common/AudioEventRTS.h"
3335
#include "Common/Debug.h"
3436
#include "Common/GlobalData.h"

Core/GameEngineDevice/Source/W3DDevice/GameClient/W3DVideoBuffer.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
// Includes
4646
//----------------------------------------------------------------------------
4747

48+
#include <Utility/CppMacros.h>
4849
#include "Common/GameMemory.h"
4950
#include "WW3D2/texture.h"
5051
#include "WW3D2/textureloader.h"

Core/GameEngineDevice/Source/Win32Device/Common/Win32BIGFile.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Bryan Cleveland, August 2002
2727
/////////////////////////////////////////////////////
2828

29+
#include <Utility/CppMacros.h>
2930
#include "Common/LocalFile.h"
3031
#include "Common/LocalFileSystem.h"
3132
#include "Common/RAMFile.h"

Core/GameEngineDevice/Source/Win32Device/Common/Win32BIGFileSystem.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
// Bryan Cleveland, August 2002
2727
/////////////////////////////////////////////////////////////
2828

29+
#include <Utility/CppMacros.h>
2930
#include "Common/AudioAffect.h"
3031
#include "Common/ArchiveFile.h"
3132
#include "Common/ArchiveFileSystem.h"

Core/GameEngineDevice/Source/Win32Device/Common/Win32LocalFileSystem.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
////////////////////////////////////////////////////////////
2828

2929
#include <windows.h>
30+
31+
#include <Utility/CppMacros.h>
3032
#include "Common/AsciiString.h"
3133
#include "Common/GameMemory.h"
3234
#include "Common/PerfTimer.h"

Core/Libraries/Source/Compression/EAC/huffencode.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#define __HUFWRITE 1
2323

2424
#include <string.h>
25+
26+
#include <Utility/CppMacros.h>
2527
#include "codex.h"
2628
#include "huffcodex.h"
2729

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
//
2121
//////////////////////////////////////////////////////////////////////
2222

23+
#include <Utility/CppMacros.h>
2324
#include "framgrab.h"
2425
#include <io.h>
2526
//#include <errno.h>

0 commit comments

Comments
 (0)