From 4362eb79e627cbcc0fbff5de959ae47b4544b788 Mon Sep 17 00:00:00 2001 From: ehofman Date: Fri, 12 Mar 2004 08:59:12 +0000 Subject: [PATCH] Update for non-conformal (older) compilers --- simgear/misc/zfstream.hxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simgear/misc/zfstream.hxx b/simgear/misc/zfstream.hxx index 2b0f10c4..e226166c 100644 --- a/simgear/misc/zfstream.hxx +++ b/simgear/misc/zfstream.hxx @@ -141,7 +141,11 @@ public: protected: virtual int_type underflow(); +#ifndef SG_HAVE_STD_INCLUDES + virtual int_type overflow( int_type c = traits_type::eof() ); +#else virtual int_type overflow( int_type c = streambuf::traits_type::eof() ); +#endif private: -- 2.39.5