diff options
Diffstat (limited to 'sys/sys/stdint.h')
-rw-r--r-- | sys/sys/stdint.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/sys/stdint.h b/sys/sys/stdint.h index ec3698b..e3d696b 100644 --- a/sys/sys/stdint.h +++ b/sys/sys/stdint.h @@ -66,4 +66,11 @@ typedef __uint_fast64_t uint_fast64_t; #define WCHAR_MIN __WCHAR_MIN #define WCHAR_MAX __WCHAR_MAX +#if __EXT1_VISIBLE +/* ISO/IEC 9899:2011 K.3.4.4 */ +#ifndef RSIZE_MAX +#define RSIZE_MAX (SIZE_MAX >> 1) +#endif +#endif /* __EXT1_VISIBLE */ + #endif /* !_SYS_STDINT_H_ */ |