From 79551f5c04d20990e64b26bf577f70eeaeb38652 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 14 Nov 2023 12:56:01 -0500 Subject: enable UB-testing for isupper() --- src/errno/ERANGE.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/errno') diff --git a/src/errno/ERANGE.h b/src/errno/ERANGE.h index c6fb0bdf..f05d4b12 100644 --- a/src/errno/ERANGE.h +++ b/src/errno/ERANGE.h @@ -9,3 +9,9 @@ is used to indicated that the result of an operation is too large or too small. /* STDC(1) */ + + +#ifdef __linux__ +#undef ERANGE +#define ERANGE 34 +#endif -- cgit v1.2.1