libstdc++: Fix 17_intro/names.cc failures on Solaris
Signed-off-by: Jonathan Wakely <jwakely@redhat.com> libstdc++-v3/ChangeLog: * testsuite/17_intro/names.cc: Undefine some more names used by Solaris system headers.
This commit is contained in:
parent
cad36f3857
commit
69b09c5599
@ -243,6 +243,12 @@
|
||||
#endif
|
||||
|
||||
#ifdef __sun__
|
||||
// <fenv.h> defines these as members of fex_numeric_t
|
||||
#undef l
|
||||
#undef f
|
||||
#undef d
|
||||
#undef q
|
||||
#undef p
|
||||
// See https://gcc.gnu.org/ml/libstdc++/2019-05/msg00175.html
|
||||
#undef ptr
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user