From 97bd6f91b50fe5f26415190b5d21d3348e610ebc Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Thu, 4 Jun 2015 16:12:34 +0000 Subject: [PATCH] [libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc. libstdc++-v3/ 2015-06-04 Renlin Li Backported from mainline 2015-06-02 Renlin Li * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check. From-SVN: r224134 --- libstdc++-v3/ChangeLog | 7 +++++++ libstdc++-v3/testsuite/27_io/fpos/14775.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a62ea728a996..dc60f8b2180e 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2015-06-04 Renlin Li + + Backported from mainline + 2015-06-02 Renlin Li + + * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check. + 2015-03-25 Jonathan Wakely Backport from mainline diff --git a/libstdc++-v3/testsuite/27_io/fpos/14775.cc b/libstdc++-v3/testsuite/27_io/fpos/14775.cc index 4e12b49575ea..50a4061233f2 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; -- 2.47.2