Browse Source

minilibc: define SIZE_MAX in stdint.h

Grissiom 10 năm trước cách đây
mục cha
commit
ab729429b3
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      components/libc/minilibc/stdint.h

+ 2 - 0
components/libc/minilibc/stdint.h

@@ -43,4 +43,6 @@ typedef unsigned long long uint64_t;
 #define LONG_MIN	(-LONG_MAX - 1)
 #define ULONG_MAX	(~0UL)
 
+#define SIZE_MAX	ULONG_MAX
+
 #endif