summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/debug-break.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/debug-break.cpp b/main/debug-break.cpp
index 218dbe41..72756f37 100644
--- a/main/debug-break.cpp
+++ b/main/debug-break.cpp
@@ -11,7 +11,7 @@ void floormat::floormat_main::debug_break()
#ifdef _WIN32
if (IsDebuggerPresent()) [[unlikely]]
DebugBreak();
-#else
+#elif !defined __APPLE__
if (ptrace(PTRACE_TRACEME, 0, 1, 0) == -1)
::raise(SIGUSR1);
#endif