--- third_party/swiftshader/src/Reactor/Debug.cpp.orig 2022-02-07 13:39:41 UTC +++ third_party/swiftshader/src/Reactor/Debug.cpp @@ -46,7 +46,7 @@ namespace { bool IsUnderDebugger() { -#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__) +#if defined(PTRACE) && !defined(__APPLE__) && !defined(__MACH__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) static bool checked = false; static bool res = false;