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: