mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 09:13:37 +01:00
stdio.h: don't expose rsize_t unless __EXT1_VISIBLE
PR: 281768
Fixes: c13559d31e
MFC after: 1 week
This commit is contained in:
parent
eb345e05ac
commit
b35f0aa495
@ -48,10 +48,13 @@ typedef __size_t size_t;
|
|||||||
#define _SIZE_T_DECLARED
|
#define _SIZE_T_DECLARED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __EXT1_VISIBLE
|
||||||
|
/* ISO/IEC 9899:2011 K.3.3.2 */
|
||||||
#ifndef _RSIZE_T_DEFINED
|
#ifndef _RSIZE_T_DEFINED
|
||||||
#define _RSIZE_T_DEFINED
|
#define _RSIZE_T_DEFINED
|
||||||
typedef size_t rsize_t;
|
typedef size_t rsize_t;
|
||||||
#endif
|
#endif
|
||||||
|
#endif /* __EXT1_VISIBLE */
|
||||||
|
|
||||||
#if __POSIX_VISIBLE >= 200809
|
#if __POSIX_VISIBLE >= 200809
|
||||||
#ifndef _OFF_T_DECLARED
|
#ifndef _OFF_T_DECLARED
|
||||||
|
Loading…
Reference in New Issue
Block a user