shithub: npe

Download patch

ref: b6a5e7f9af746f6459a01a480564839ff3a35c6c
parent: 59a482e909db799aad9e2f0886c58068d9a5cc88
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Mar 17 12:40:00 EDT 2021

limits.h: INT8_MAX, UINT8_MAX

--- a/include/npe/limits.h
+++ b/include/npe/limits.h
@@ -1,6 +1,14 @@
 #ifndef _limits_h_
 #define _limits_h_
 
+#ifndef INT8_MAX
+#define INT8_MAX 0x7f
+#endif
+
+#ifndef UINT8_MAX
+#define UINT8_MAX 0xff
+#endif
+
 #ifndef SHRT_MAX
 #define SHRT_MAX 0x7fff
 #endif