Skip to content

Instantly share code, notes, and snippets.

View jerobarraco's full-sized avatar

Jeronimo Barraco-Marmol jerobarraco

View GitHub Profile
@jerobarraco
jerobarraco / ue4_26-defines-fix.patch
Created September 13, 2020 23:16
ue4_26-defines-fix.patch
diff --git a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
index ad61e4bdf57..9971b8ca9fa 100644
--- a/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
+++ b/Engine/Source/Programs/UnrealBuildTool/Configuration/UEBuildModuleCPP.cs
@@ -437,6 +437,11 @@ namespace UnrealBuildTool
// Write all the definitions to a separate file
CreateHeaderForDefinitions(CompileEnvironment, IntermediateDirectory, null, Graph);
+ // patch
+ if (CompileEnvironment.Definitions.Count > 0)