summaryrefslogtreecommitdiffhomepage
path: root/main
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-04 03:27:55 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-04 03:27:55 +0100
commitb16ab0038a0ec70c59a3bbfef4aa4dee0b04cf15 (patch)
tree4635d52ee99509a25947be4fafa28947ae47fa7d /main
parent1b254aa3c1489c7efcde1f151724459350b85fcf (diff)
ci: fix build
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