From: Thies C. Arntzen Date: Wed, 24 May 2000 09:44:02 +0000 (+0000) Subject: add rdbuf() to our own istdiostream implementation, allowing C++ compile X-Git-Tag: PRE_EIGHT_BYTE_ALLOC_PATCH~275 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78a1fdfcaae35203932ad3a864a6dce77f24e18d;p=php add rdbuf() to our own istdiostream implementation, allowing C++ compile using SUN and SGI native compilers. (by Jayakumar Muthukumarasamy ) --- diff --git a/Zend/zend-scanner.l b/Zend/zend-scanner.l index 44b80b9dfe..d1ff0b28a5 100644 --- a/Zend/zend-scanner.l +++ b/Zend/zend-scanner.l @@ -92,6 +92,7 @@ private: stdiobuf _file; public: istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); } + stdiobuf* rdbuf()/* const */ { return &_file; } }; #endif