فهرست منبع

Merge pull request #332 from grissiom/fix-minilibc

minilibc: define SIZE_MAX in stdint.h
Bernard Xiong 10 سال پیش
والد
کامیت
7bd85ac547
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