summaryrefslogtreecommitdiff
path: root/src/errno/ERANGE.h
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2023-11-14 12:56:01 -0500
committerJakob Kaivo <jkk@ung.org>2023-11-14 12:56:01 -0500
commit79551f5c04d20990e64b26bf577f70eeaeb38652 (patch)
treecf9211c4ddf105221ca33a193cbbe3eb6851eea1 /src/errno/ERANGE.h
parent9e22ec98f4132300301d32f033b2c4d6e4ff5c1d (diff)
enable UB-testing for isupper()
Diffstat (limited to 'src/errno/ERANGE.h')
-rw-r--r--src/errno/ERANGE.h6
1 files changed, 6 insertions, 0 deletions
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