diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2021-03-15 00:34:27 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-03-15 15:42:39 +0000 |
commit | 6f4b0ff2b1fbd58669ae130387c7535110300c52 (patch) | |
tree | 70319ce71ff8cede5b48bcc282bd97144dda9656 | |
parent | f8aa819b4ae1588b6189bb0fc675cf6334608182 (diff) | |
download | gcc-6f4b0ff2b1fbd58669ae130387c7535110300c52.zip gcc-6f4b0ff2b1fbd58669ae130387c7535110300c52.tar.gz gcc-6f4b0ff2b1fbd58669ae130387c7535110300c52.tar.bz2 |
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.
-rw-r--r-- | libstdc++-v3/testsuite/17_intro/names.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/17_intro/names.cc b/libstdc++-v3/testsuite/17_intro/names.cc index 4534d79..624e3ed 100644 --- a/libstdc++-v3/testsuite/17_intro/names.cc +++ b/libstdc++-v3/testsuite/17_intro/names.cc @@ -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 |