summaryrefslogtreecommitdiff
path: root/rdbmaker/source/codemaker/global.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2000-11-06 16:46:57 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2000-11-06 16:46:57 +0000
commitc5c42af988276a1c4bee30d8035f36649035ac0d (patch)
treeaa78fcb098e7421667c1962878210e655f5453b2 /rdbmaker/source/codemaker/global.cxx
parent59828e3ef090d2adf2f2df7290d2e9487c6dfbca (diff)
#65293#: STLport-4.0
Diffstat (limited to 'rdbmaker/source/codemaker/global.cxx')
-rw-r--r--rdbmaker/source/codemaker/global.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/rdbmaker/source/codemaker/global.cxx b/rdbmaker/source/codemaker/global.cxx
index 8dccbc9b9ea6..a6c766578eb4 100644
--- a/rdbmaker/source/codemaker/global.cxx
+++ b/rdbmaker/source/codemaker/global.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: global.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:29:08 $
+ * last change: $Author: hr $ $Date: 2000-11-06 17:46:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -337,8 +337,12 @@ FileStream::~FileStream()
sal_Bool FileStream::isValid()
{
#if defined(SAL_UNX) || defined(SAL_OS2)
+#if STLPORT_VERSION < 400
if(rdbuf()->fd() < 0)
#else
+ if( !is_open() )
+#endif
+#else
if(fd() < 0)
#endif
{