summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io
diff options
context:
space:
mode:
authorrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-02 08:54:25 +0000
committerrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>2015-06-02 08:54:25 +0000
commit4310ff35de2937a317169469d97970948ea06a1e (patch)
tree57f6d484f5477654230e0ac466f504af26575e67 /libstdc++-v3/testsuite/27_io
parentb28d03981fef75ba2bf4c6df18ac885fbb3dd09a (diff)
downloadgcc-4310ff35de2937a317169469d97970948ea06a1e.tar.gz
[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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224015 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/27_io')
-rw-r--r--libstdc++-v3/testsuite/27_io/fpos/14775.cc2
1 files changed, 1 insertions, 1 deletions
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;