diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-18 02:38:24 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-02-18 02:38:24 +0000 |
commit | 4a1a3a8b2c448caa9443d98e90f2c2478ed35792 (patch) | |
tree | 3cc94f64c3499a2bf9bfd1e53c90b9690f82c76d /ace/IOStream.h | |
parent | 2948864e640266f85b167192dfd8bd6f81358d24 (diff) | |
download | ATCD-4a1a3a8b2c448caa9443d98e90f2c2478ed35792.tar.gz |
added null ipfx (), etc., methods for ACE_WIN32 because its iostream class doesn't have them
Diffstat (limited to 'ace/IOStream.h')
-rw-r--r-- | ace/IOStream.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/IOStream.h b/ace/IOStream.h index eeee862789b..93d550b630f 100644 --- a/ace/IOStream.h +++ b/ace/IOStream.h @@ -356,12 +356,21 @@ public: // be inserted after every put operation so that my transmitted // "fields" are always separated. +#if defined (ACE_WIN32) + virtual int ipfx (int need = 0) { ACE_UNUSED_ARG (need); return 1; } + virtual int ipfx0(void) { return 1; } // Optimized ipfx(0) + virtual int ipfx1(void) { return 1; } // Optimized ipfx(1) + virtual void isfx (void) { /* null */ } + virtual int opfx (void) { return 1; } + virtual void osfx (void) { /* null */ } +#else virtual int ipfx (int need = 0) { return(iostream::ipfx(need)); } virtual int ipfx0(void) { return(iostream::ipfx0()); } // Optimized ipfx(0) virtual int ipfx1(void) { return(iostream::ipfx1()); } // Optimized ipfx(1) virtual void isfx (void) { iostream::isfx(); } virtual int opfx (void) { return(iostream::opfx()); } virtual void osfx (void) { iostream::osfx(); } +#endif /* ACE_WIN32 */ protected: ACE_Streambuf<STREAM> *streambuf_; |