[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
This commit is contained in:
Renlin Li 2015-06-02 08:54:25 +00:00 committed by Renlin Li
parent 8da140e0e4
commit fc7e20fd7a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View 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;