minilibc: define SIZE_MAX in stdint.h

This commit is contained in:
Grissiom 2014-09-01 10:41:37 +08:00
parent fe4f74a6b1
commit ab729429b3
1 changed files with 2 additions and 0 deletions

View File

@ -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