#include "floormat/main.hpp" #ifdef _WIN32 #include #else #include #include #endif void floormat::floormat_main::debug_break() { #ifdef _WIN32 if (IsDebuggerPresent()) [[unlikely]] DebugBreak(); #elif !defined __APPLE__ if (ptrace(PTRACE_TRACEME, 0, 1, 0) == -1) ::raise(SIGUSR1); #endif }