浏览代码

minilibc: define SIZE_MAX in stdint.h

Grissiom 10 年之前
父节点
当前提交
ab729429b3
共有 1 个文件被更改,包括 2 次插入0 次删除
  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