[libc++] Don't #define __unused with glibc in system_reserved_names.gen.py (#206971)
Newer glibc versions use the identifier `__unused`. To run the test successufly again disable the `__unused` check with glibc.
This commit is contained in:
parent
d746bcfec5
commit
3c16a8b183
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ for header in public_headers:
|
|||
#define __release SYSTEM_RESERVED_NAME
|
||||
|
||||
// Android and FreeBSD use this for __attribute__((__unused__))
|
||||
#if !defined(__FreeBSD__) && !defined(__ANDROID__)
|
||||
#if !defined(__FreeBSD__) && !defined(__ANDROID__) && !defined(__GLIBC__)
|
||||
#define __unused SYSTEM_RESERVED_NAME
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue