summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/fortify-headers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fortify-headers.h b/include/fortify-headers.h
index 3e2140f..dbace47 100644
--- a/include/fortify-headers.h
+++ b/include/fortify-headers.h
@@ -21,6 +21,9 @@
21#error a compiler with __has_builtin support is required 21#error a compiler with __has_builtin support is required
22#endif 22#endif
23 23
24#if ! __has_builtin(__builtin_trap)
25#define __builtin_trap abort
26#endif
24 27
25#ifdef __clang__ 28#ifdef __clang__
26 29