From b16ab0038a0ec70c59a3bbfef4aa4dee0b04cf15 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 4 Mar 2023 03:27:55 +0100 Subject: ci: fix build --- main/debug-break.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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 -- cgit v1.2.3