summaryrefslogtreecommitdiff
path: root/Zend/zend_istdiostream.h
blob: 00b65b37938ee25e15a6d75f02b6241b494b76ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _ZEND_STDIOSTREAM
#define _ZEND_STDIOSTREAM

#if defined(ZTS) && !defined(HAVE_CLASS_ISTDIOSTREAM)
class istdiostream : public istream
{
private:
	stdiobuf _file;
public:
	istdiostream (FILE* __f) : istream(), _file(__f) { init(&_file); }
	stdiobuf* rdbuf()/* const */ { return &_file; }
};
#endif

#endif