Skip to content

Commit b8e9b74

Browse files
committed
Fix merge error
1 parent db422b1 commit b8e9b74

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

Source/UnrealEnginePython/Private/PyCommandlet.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ int32 UPyCommandlet::Main(const FString& CommandLine)
9595
wcsncpy(argv[i], (const wchar_t *) TCHAR_TO_WCHAR(*PyArgv[i].ReplaceEscapedCharWithChar()), PyArgv[i].Len() + 1);
9696
#else
9797
wcsncpy(argv[i], *PyArgv[i].ReplaceEscapedCharWithChar(), PyArgv[i].Len() + 1);
98+
#endif
9899
#elif PLATFORM_ANDROID || PLATFORM_IOS
99100
wcsncpy(argv[i], (const wchar_t *)*PyArgv[i].ReplaceEscapedCharWithChar(), PyArgv[i].Len() + 1);
100101
#else

Source/UnrealEnginePython/Private/UnrealEnginePython.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ void FUnrealEnginePythonModule::StartupModule()
529529
Py_InitializeEx(0);
530530
#else
531531
Py_Initialize();
532+
#endif
532533

533534
#if PLATFORM_WINDOWS
534535
// Restore stdio state after Py_Initialize set it to O_BINARY, otherwise

Source/UnrealEnginePython/Private/Wrappers/UEPyFFoliageInstance.cpp

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

3-
#if WITH_EDITOR
4-
53
#include "Wrappers/UEPyFVector.h"
64
#include "Wrappers/UEPyFRotator.h"
75
#include "Wrappers/UEPyFTransform.h"

Source/UnrealEnginePython/UnrealEnginePython.Build.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,6 @@ public UnrealEnginePython(TargetInfo Target)
108108

109109
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
110110
PublicDefinitions.Add("WITH_UNREALENGINEPYTHON=1"); // fixed
111-
string enableUnityBuild = System.Environment.GetEnvironmentVariable("UEP_ENABLE_UNITY_BUILD");
112-
bFasterWithoutUnity = string.IsNullOrEmpty(enableUnityBuild);
113111
string PluginDirectory = Path.Combine(ModuleDirectory, "..", "..");
114112

115113
PublicIncludePaths.AddRange(
@@ -297,7 +295,7 @@ public UnrealEnginePython(TargetInfo Target)
297295
string includePath = Path.Combine(PythonIOSLibsDirectory, "Python", "Headers");
298296
PublicIncludePaths.Add(includePath);
299297

300-
PublicLibraryPaths.AddRange(
298+
PublicSystemLibraryPaths.AddRange(
301299
new string[] {
302300
Path.Combine(PythonIOSLibsDirectory, "BZip2"),
303301
Path.Combine(PythonIOSLibsDirectory, "OpenSSL"),

0 commit comments

Comments
 (0)