summaryrefslogtreecommitdiff
path: root/src/stdlib/__stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/__stdlib.c')
-rw-r--r--src/stdlib/__stdlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdlib/__stdlib.c b/src/stdlib/__stdlib.c
index a95b7ef7..d1006bec 100644
--- a/src/stdlib/__stdlib.c
+++ b/src/stdlib/__stdlib.c
@@ -1,5 +1,9 @@
#include "_stdlib.h"
+#if ! (__STDC_VERSION__ >= 201112 && defined __STDC_WANT_LIB_EXT1__)
+#define abort_handler_s __abort_handler_s
+#endif
+
struct __stdlib __stdlib = {
.constraint_handler = abort_handler_s,
};