Add TRACY_NO_INVARIANT_CHECK to all platforms

This commit is contained in:
Wojtek Figat
2021-10-03 20:51:25 +02:00
parent 3dff9196c2
commit 8f07a5285e

View File

@@ -38,10 +38,10 @@ public class tracy : ThirdPartyModule
options.SourceFiles.Add(Path.Combine(FolderPath, "TracyClient.cpp"));
options.PublicDefinitions.Add("TRACY_ENABLE");
options.PrivateDefinitions.Add("TRACY_NO_INVARIANT_CHECK");
if (options.Platform.Target == TargetPlatform.Windows)
{
options.PrivateDefinitions.Add("TRACY_DBGHELP_LOCK=DbgHelp");
options.PrivateDefinitions.Add("TRACY_NO_INVARIANT_CHECK");
}
if (OnDemand)
{