summaryrefslogtreecommitdiff
path: root/ace/IOStream.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-06 16:57:06 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-02-06 16:57:06 +0000
commitafabfb5519fa6b6839f75d064bcb87b135f4f168 (patch)
tree5b70e76ed99662eb223a4212db4a62edcb97f52a /ace/IOStream.cpp
parenta16154fafd66b55d0ec58516ab163ebcad867c7a (diff)
downloadATCD-afabfb5519fa6b6839f75d064bcb87b135f4f168.tar.gz
got to build with Sun C++ 4.1
Diffstat (limited to 'ace/IOStream.cpp')
-rw-r--r--ace/IOStream.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ace/IOStream.cpp b/ace/IOStream.cpp
index 947bbc76bcd..0673b895cf2 100644
--- a/ace/IOStream.cpp
+++ b/ace/IOStream.cpp
@@ -421,7 +421,9 @@ ACE_Streambuf<STREAM>::ACE_Streambuf (STREAM *peer, int io_mode)
// Linebuffered is similar to unbuffered. Again, I don't have any
// need for this and I don't see the advantage. I believe this
// would have to be supported by underflow/overflow to be effective.
+#if !defined (ACE_LACKS_LINEBUFFERED_IOSTREAMS)
this->linebuffered (0);
+#endif /* ! ACE_LACKS_LINEBUFFERED_IOSTREAMS */
// The get area is where the iostrem will get data from. This is
// our read buffer. There are three pointers which describe the