libstdc++, testsuite, Darwin : Adjust for names used in system headers.

For all current Darwin SDKs inttypes.h has:
extern intmax_t imaxabs(intmax_t j);

So we need to exclude j from the defined test symbols.

libstdc++-v3/ChangeLog:

	* testsuite/17_intro/names.cc: Exclude j from the list
	of test symbols for Darwin.
This commit is contained in:
Iain Sandoe 2021-03-15 00:34:27 +00:00
parent f8aa819b4a
commit 6f4b0ff2b1
1 changed files with 5 additions and 0 deletions

View File

@ -197,6 +197,11 @@
#undef v
#endif
#ifdef __APPLE__
// inttypes.h: extern intmax_t imaxabs(intmax_t j);
#undef j
#endif
#ifdef __hpux__
#undef d
#undef r