summaryrefslogtreecommitdiff
path: root/asl/assert.hpp
diff options
context:
space:
mode:
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(); }