libstdc++: Fix failing tests due to 'u' identifier in kernel header

libstdc++-v3/ChangeLog:

	* testsuite/17_intro/names.cc: Undefine 'u' on powerpc*-linux*.
This commit is contained in:
Jonathan Wakely 2021-02-24 16:24:34 +00:00
parent fac929a22d
commit d0453cf5c6

View File

@ -202,6 +202,11 @@
#undef r
#endif
#if defined (__linux__) && defined (__powerpc__)
// <asm/types.h> defines __vector128::u
#undef u
#endif
#if defined (__linux__) && defined (__sparc__)
#undef y
#endif