summaryrefslogtreecommitdiff
path: root/asl/assert.hpp
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2024-10-28 18:39:01 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2024-12-20 15:35:58 +0100
commit4a3185b782dabeb664fcf2fa4f6d17e36cf23d0e (patch)
tree2cc982f8972b7b809819032b41e618e8506abbd6 /asl/assert.hpp
parente1f9d9ca1ef3c69da3b887b0af298be0aea4a5f9 (diff)
Start fixing some cross platform issues
Diffstat (limited to 'asl/assert.hpp')
-rw-r--r--asl/assert.hpp3
1 files changed, 2 insertions, 1 deletions
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(); }