libstdc++: Fix test failure on AIX
authorJonathan Wakely <jwakely@redhat.com>
Thu, 3 Mar 2022 22:20:32 +0000 (22:20 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 3 Mar 2022 22:25:44 +0000 (22:25 +0000)
commit64cdf49962996747b4c5687a705551d5fc61fac8
tree32e802962b48d514282bd948a2df7b7074c76186
parent9805965e3551b66b5bd751d6076791d00cdeb137
libstdc++: Fix test failure on AIX

This fixes a test failure due to a non-reserved name in an AIX system
header (included via <pthread.h>). That name clashes with one of the
names we check our own headers for, so skip checking that name on AIX.

libstdc++-v3/ChangeLog:

* testsuite/17_intro/names.cc (func): Undef on AIX.
libstdc++-v3/testsuite/17_intro/names.cc