summaryrefslogtreecommitdiff
path: root/zap/source/any/bs/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/source/any/bs/trap.c')
-rw-r--r--zap/source/any/bs/trap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/zap/source/any/bs/trap.c b/zap/source/any/bs/trap.c
index 9428d44..552572d 100644
--- a/zap/source/any/bs/trap.c
+++ b/zap/source/any/bs/trap.c
@@ -7,10 +7,8 @@
#include <zap/bs.h>
void zap_priv_trap(void) {
-#if defined(__has_builtin)
-#if __has_builtin(__builtin_trap)
+#if zap_priv_hasbuiltin(__builtin_trap)
__builtin_trap();
#endif
-#endif
for (;;) {}
}