summaryrefslogtreecommitdiff
path: root/ace/IOStream.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>1997-11-18 17:38:36 +0000
committerSteve Huston <shuston@riverace.com>1997-11-18 17:38:36 +0000
commit63a166ca042d3f6f0a367c799f8e700a0180b342 (patch)
tree3be1c55927d8a52f69546d72cfffef15690ad7dc /ace/IOStream.cpp
parentd8432f3e27f9e90b476013aa278a272c138ed172 (diff)
downloadATCD-63a166ca042d3f6f0a367c799f8e700a0180b342.tar.gz
Added: && (STANDARD_CPP_LIBRARY != 0)
to the end of the #if defined (ACE_HAS_STANDARD_CPP_LIBRARY) lines so they'd work right w/ Win32 and the old iostreams library.
Diffstat (limited to 'ace/IOStream.cpp')
-rw-r--r--ace/IOStream.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/IOStream.cpp b/ace/IOStream.cpp
index 1c5bdd76577..d6a47878809 100644
--- a/ace/IOStream.cpp
+++ b/ace/IOStream.cpp
@@ -116,7 +116,7 @@ ACE_Streambuf::underflow (void)
// If base () is empty then this is the first time any get/put
// operation has been attempted on the stream.
-#if defined (ACE_HAS_STANDARD_CPP_LIBRARY)
+#if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
if (!eback ())
#else /* ACE_HAS_STANDARD_CPP_LIBRARY */
if (!this->base ())
@@ -232,8 +232,8 @@ ACE_Streambuf::overflow (int c)
if (! (mode_ & ios::out))
return EOF;
-#if defined (ACE_HAS_STANDARD_CPP_LIBRARY)
- if (!eback ())
+#if defined (ACE_HAS_STANDARD_CPP_LIBRARY) && (ACE_HAS_STANDARD_CPP_LIBRARY != 0)
+ if (!pbase ())
#else /* ACE_HAS_STANDARD_CPP_LIBRARY */
if (!base ())
#endif /* ACE_HAS_STANDARD_CPP_LIBRARY */