From 8b1576170dbbc86d7c75343614d1ae998be27fd2 Mon Sep 17 00:00:00 2001 From: Martijn Courteaux Date: Fri, 28 Mar 2025 14:23:16 +0100 Subject: [PATCH] Disable Windows __try1 __except1 mechanic to be cross compilable from Linux. --- public/client/TracyProfiler.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index cb588363..22830765 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -3142,14 +3142,7 @@ char* Profiler::SafeCopyProlog( const char* data, size_t size ) success = false; } # else - __try1( CrashFilterExecute ) - { - memcpy( buf, data, size ); - } - __except1 - { - success = false; - } + memcpy( buf, data, size ); # endif #else // Send through the pipe to ensure safe reads