summaryrefslogtreecommitdiff
path: root/ace/IOStream.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-24 01:42:15 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-24 01:42:15 +0000
commit8036d1d38f9b6c8fbf7587f826e85bb99832881d (patch)
tree9a454c75e8a61d0da3bacbf59f2c53af1a806ae6 /ace/IOStream.h
parent6950a1b6045f325d5ba36db06626bd57ed0790a7 (diff)
downloadATCD-8036d1d38f9b6c8fbf7587f826e85bb99832881d.tar.gz
removed DIGITAL_UNIX from #include decision, so now it just depends on DEC_CXX and its version
Diffstat (limited to 'ace/IOStream.h')
-rw-r--r--ace/IOStream.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ace/IOStream.h b/ace/IOStream.h
index 69e3d922681..bc7460d1643 100644
--- a/ace/IOStream.h
+++ b/ace/IOStream.h
@@ -41,13 +41,13 @@ typedef std::string ACE_IOStream_String;
typedef String ACE_IOStream_String;
#endif /* ACE_WIN32 */
-#if defined (DIGITAL_UNIX) && defined (DEC_CXX)
+#if defined (DEC_CXX)
# if __DECCXX_VER < 50700000
# include /**/ <stl_macros>
# else
# include /**/ <stdcomp>
# endif /* __DECCXX_VER < 50700000 */
-#endif /* DIGITAL_UNIX && DEC_CXX */
+#endif /* DEC_CXX */
class ACE_Quoted_String : public ACE_IOStream_String
@@ -290,14 +290,14 @@ protected:
: cur_mode_ == put_mode_ ? pbase_saved_
: 0;
}
- char *ebuf (void) const
- {
+ char *ebuf (void) const
+ {
return cur_mode_ == 0 ? 0 : base() + streambuf_size_;
}
- int blen (void) const
- {
- return streambuf_size_;
+ int blen (void) const
+ {
+ return streambuf_size_;
}
void setb (char* b, char* eb, int a=0)
@@ -305,9 +305,9 @@ protected:
setbuf (b, (eb - b));
}
- int out_waiting (void)
+ int out_waiting (void)
{
- return pptr () - pbase ();
+ return pptr () - pbase ();
}
#endif /* ACE_HAS_STANDARD_CPP_LIBRARY */
};