From: Jonathan Wakely Date: Thu, 19 Oct 2017 13:56:55 +0000 (+0100) Subject: Use __LONG_LONG_MAX__ instead of LONG_LONG_MAX in test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af23b26ab0c226e8943b0984a75a3112afa79397;p=gcc.git Use __LONG_LONG_MAX__ instead of LONG_LONG_MAX in test * testsuite/decimal/conversion-to-integral.cc: Use predefined macro instead of non-standard glibc one. From-SVN: r253894 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9177f044fca..c02f9bf418a 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2017-10-19 Jonathan Wakely + + * testsuite/decimal/conversion-to-integral.cc: Use predefined macro + instead of non-standard glibc one. + 2017-10-16 François Dumont PR libstdc++/82558 diff --git a/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc b/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc index 6fd59a67b70..cc48fa8729d 100644 --- a/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc +++ b/libstdc++-v3/testsuite/decimal/conversion-to-integral.cc @@ -64,7 +64,7 @@ void conversion_to_integral_128 (void) { #undef MAXVAL - #define MAXVAL LONG_LONG_MAX + #define MAXVAL __LONG_LONG_MAX__ decimal128 a, b (1), c (-1), d (MAXVAL), e (-MAXVAL); long long ll;