From 36bd6c283383851664bbe598601c99385e5dcd43 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 00:00:51 -0500 Subject: make tweaks to work with 1:1 checked functions --- src/stdlib/__stdlib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/stdlib/__stdlib.c') 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, }; -- cgit v1.2.1