From af23b26ab0c226e8943b0984a75a3112afa79397 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 19 Oct 2017 14:56:55 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/decimal/conversion-to-integral.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2