diff options
author | Renlin Li <renlin.li@arm.com> | 2015-06-02 08:54:25 +0000 |
---|---|---|
committer | Renlin Li <renlin@gcc.gnu.org> | 2015-06-02 08:54:25 +0000 |
commit | fc7e20fd7a0653b19bddb7a15973c32959402172 (patch) | |
tree | 57f6d484f5477654230e0ac466f504af26575e67 /libstdc++-v3 | |
parent | 8da140e0e4b0af9d2f9fa09797bb30619ba395d2 (diff) | |
download | gcc-fc7e20fd7a0653b19bddb7a15973c32959402172.zip gcc-fc7e20fd7a0653b19bddb7a15973c32959402172.tar.gz gcc-fc7e20fd7a0653b19bddb7a15973c32959402172.tar.bz2 |
[libstdc++-v3]Add _GLIBCXX_HAVE_LIMIT_FSIZE to guard 27_io/fpos/14775.cc.
libstdc++-v3/
2015-06-02 Renlin Li <renlin.li@arm.com>
* testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check.
From-SVN: r224015
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/ChangeLog | 4 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/fpos/14775.cc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 0693ce9..6e1083d 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2015-06-02 Renlin Li <renlin.li@arm.com> + + * testsuite/27_io/fpos/14775.cc: Add _GLIBCXX_HAVE_LIMIT_FSIZE check. + 2015-06-01 Jonathan Wakely <jwakely@redhat.com> * 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 b700868..35ca998 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; |