ref: e03cb8874ab650b63ca2323f8741556a6545546a
parent: 9fe0bdca16d617404d87acfb4b473e1e900f1050
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Mar 19 06:00:56 EDT 2021
limits.h: CHAR_MAX & SCHAR_MAX
--- a/include/npe/limits.h
+++ b/include/npe/limits.h
@@ -1,6 +1,14 @@
#ifndef _limits_h_
#define _limits_h_
+#ifndef CHAR_MAX
+#define CHAR_MAX 0x7f
+#endif
+
+#ifndef SCHAR_MAX
+#define SCHAR_MAX 0x7f
+#endif
+
#ifndef INT8_MAX
#define INT8_MAX 0x7f
#endif