From b3eacb19f66b2f999d95ca84ae068ffd02976341 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 7 Dec 1998 21:10:26 +0000 Subject: [PATCH] Portability improvements. --- Misc/zfstream.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Misc/zfstream.hxx b/Misc/zfstream.hxx index 8374575e..3e5c0d67 100644 --- a/Misc/zfstream.hxx +++ b/Misc/zfstream.hxx @@ -58,7 +58,12 @@ # define ios_in ios::in # define ios_out ios::out # define ios_app ios::app + +#if defined(__GNUC__) && __GNUC_MINOR__ < 8 +# define ios_binary ios::bin +#else # define ios_binary ios::binary +#endif # define ios_seekdir ios::seek_dir @@ -142,6 +147,9 @@ struct gzifstream_base #endif // _zfstream_hxx // $Log$ +// Revision 1.6 1998/12/07 21:10:26 curt +// Portability improvements. +// // Revision 1.5 1998/11/06 21:17:29 curt // Converted to new logstream debugging facility. This allows release // builds with no messages at all (and no performance impact) by using @@ -150,3 +158,4 @@ struct gzifstream_base // Revision 1.4 1998/11/06 14:05:16 curt // More portability improvements by Bernie Bright. // + -- 2.39.2