diff options
| author | Bernard Xiong <[email protected]> | 2014-09-01 17:07:42 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2014-09-01 17:07:42 +0800 |
| commit | 7bd85ac547a1e9b33d66cab34e328760a5d1a545 (patch) | |
| tree | 82677f285631ecbc7e54b1587892c7f6b01f01f8 /components | |
| parent | 80699a4b703eca306c37a78d036df1b144eaeb29 (diff) | |
| parent | ab729429b31757ca19f81a8a35ef7018afa048d3 (diff) | |
Merge pull request #332 from grissiom/fix-minilibc
minilibc: define SIZE_MAX in stdint.h
Diffstat (limited to 'components')
| -rw-r--r-- | components/libc/minilibc/stdint.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/minilibc/stdint.h b/components/libc/minilibc/stdint.h index 2d9e292b7c..f397b57bc5 100644 --- a/components/libc/minilibc/stdint.h +++ b/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 |
