diff options
| author | Grissiom <[email protected]> | 2014-09-01 10:41:37 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2014-09-01 10:41:37 +0800 |
| commit | ab729429b31757ca19f81a8a35ef7018afa048d3 (patch) | |
| tree | 972bb23b5ee44e559186715513b0456c8e29e1e3 /components/libc | |
| parent | fe4f74a6b15d8c94d5e6a78ac724b2bc6c6f8222 (diff) | |
minilibc: define SIZE_MAX in stdint.h
Diffstat (limited to 'components/libc')
| -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 |
