Skip to content

Commit

Permalink
Build fix for XSX
Browse files Browse the repository at this point in the history
  • Loading branch information
rtjonnyr committed Dec 22, 2022
1 parent 57ceb17 commit bb4a080
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/NetImgui.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -190,5 +190,10 @@ public NetImgui(TargetInfo Target)
PrivateDefinitions.Add("NETIMGUI_WINSOCKET_ENABLED=0"); // Using Unreal sockets, no need for built-in sockets
PrivateDefinitions.Add("NETIMGUI_POSIX_SOCKETS_ENABLED=0"); // Using Unreal sockets, no need for built-in sockets
PrivateDefinitions.Add(string.Format("RUNTIME_LOADER_ENABLED={0}", bEnableRuntimeLoader ? 1 : 0));

if (Target.Platform.Equals(UnrealTargetPlatform.XSX))
{
PublicDefinitions.Add("IMGUI_DISABLE_WIN32_FUNCTIONS=1");
}
}
}

0 comments on commit bb4a080

Please sign in to comment.