Rename __in and __out in headers to avoid collision with Windows APIs

* string.h: Local variables in expansion of strdupa and strndupa
* sys/wait.h: Fields in anonymous union in expansion of __wait_status_to_int
This commit is contained in:
David Macek
2017-07-07 10:47:02 +02:00
committed by Corinna Vinschen
parent 74dd44c0de
commit bf61b38d98
2 changed files with 10 additions and 10 deletions

View File

@ -88,7 +88,7 @@ inline int __wait_status_to_int (const union wait & __status)
#else /* !__cplusplus */
#define __wait_status_to_int(__status) (__extension__ \
(((union { __typeof(__status) __in; int __out; }) { .__in = (__status) }).__out))
(((union { __typeof(__status) __sin; int __sout; }) { .__sin = (__status) }).__sout))
#endif /* __cplusplus */