shithub: npe

Download patch

ref: 9d296cecac21b9c62dd0e7a24df592a96503a645
parent: 227d52323d8f98c897a9269e9d4947cf1a28f4bd
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Jun 16 07:55:39 EDT 2021

limits.h: add UINT16_MAX

--- a/include/npe/limits.h
+++ b/include/npe/limits.h
@@ -37,6 +37,10 @@
 #define INT16_MAX 0x7fff
 #endif
 
+#ifndef UINT16_MAX
+#define UINT16_MAX 0xffff
+#endif
+
 #ifndef INT32_MAX
 #define INT32_MAX  0x7fffffff
 #endif