shithub: npe

Download patch

ref: de2df6f489d8c811a17b5610c3db94c6481c31d6
parent: 1686505db9e1c0c0f705a37e79576938f655823f
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Dec 31 11:29:52 EST 2021

limits: add CHAR_BIT

--- a/include/npe/limits.h
+++ b/include/npe/limits.h
@@ -1,6 +1,10 @@
 #ifndef _limits_h_
 #define _limits_h_
 
+#ifndef CHAR_BIT
+#define CHAR_BIT 8
+#endif
+
 #ifndef CHAR_MAX
 #define CHAR_MAX 0x7f
 #endif