summaryrefslogtreecommitdiff
path: root/rdbmaker
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
commitff149ef89d8fe19448eb7c8266021a226b575772 (patch)
tree19123202f76e602859984a93574ac84f7f09044e /rdbmaker
parent49787f6b055fcb83bd849c55e05640e7306c5c2e (diff)
#65293#: STLport-4.0
Diffstat (limited to 'rdbmaker')
-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 1b211efc8..863195124 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
{