From 4a3185b782dabeb664fcf2fa4f6d17e36cf23d0e Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Mon, 28 Oct 2024 18:39:01 +0100 Subject: Start fixing some cross platform issues --- asl/assert.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'asl/assert.hpp') diff --git a/asl/assert.hpp b/asl/assert.hpp index 0c80d9c..d419c24 100644 --- a/asl/assert.hpp +++ b/asl/assert.hpp @@ -1,5 +1,6 @@ #pragma once +// @Todo Make this portable-ish #define ASL_ASSERT(...) \ if (__VA_ARGS__) {} \ - else { __debugbreak(); } + else { __builtin_debugtrap(); } -- cgit