]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc.
authorRenlin Li <renlin.li@arm.com>
Thu, 4 Jun 2015 16:06:57 +0000 (16:06 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Thu, 4 Jun 2015 16:06:57 +0000 (16:06 +0000)
libstdc++-v3/

2015-06-04  Renlin Li  <renlin.li@arm.com>

Backported from mainline
2015-06-02  Renlin Li  <renlin.li@arm.com>

* testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.

From-SVN: r224133

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/fpos/14775.cc

index c6121b342fd961e2724de3c493cb8e50c96e4e3b..ed9cd1654946d5a2f7557c1161ce3df9272c780d 100644 (file)
@@ -1,3 +1,10 @@
+2015-06-04  Renlin Li  <renlin.li@arm.com>
+
+       Backported from mainline
+       2015-06-02  Renlin Li  <renlin.li@arm.com>
+
+       * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
+
 2015-05-28  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/65352
index fecd5a6c6916d4efde6a8a9bfd21fbd108efdb3d..5cd665126e7068571d4de8096a1ab9e11f482123 100644 (file)
@@ -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;