From: Renlin Li Date: Tue, 2 Jun 2015 08:54:25 +0000 (+0000) Subject: [libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fc7e20fd7a0653b19bddb7a15973c32959402172;p=gcc.git [libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc. libstdc++-v3/ 2015-06-02 Renlin Li * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check. From-SVN: r224015 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0693ce95a6c..6e1083d0ef1 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-06-02 Renlin Li + + * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check. + 2015-06-01 Jonathan Wakely * testsuite/lib/libstdc++.exp (libstdc++_init): Unset LANGUAGE diff --git a/libstdc++-v3/testsuite/27_io/fpos/14775.cc b/libstdc++-v3/testsuite/27_io/fpos/14775.cc index b7008681642..35ca99817ae 100644 --- a/libstdc++-v3/testsuite/27_io/fpos/14775.cc +++ b/libstdc++-v3/testsuite/27_io/fpos/14775.cc @@ -27,7 +27,7 @@ // Basic test for LFS support. void test01() { -#ifdef _GLIBCXX_USE_LFS +#if defined (_GLIBCXX_USE_LFS) && defined (_GLIBCXX_HAVE_LIMIT_FSIZE) using namespace std; bool test __attribute__((unused)) = true;