Disable Windows __try1 __except1 mechanic to be cross compilable from Linux.

This commit is contained in:
Martijn Courteaux
2025-03-28 14:23:16 +01:00
parent 1d6fda26ea
commit 8b1576170d

View File

@@ -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