diff options
author | Zeev Suraski <zeev@php.net> | 2000-12-26 22:15:13 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-12-26 22:15:13 +0000 |
commit | dc2f1d9db78d835bdf0bd5b25e18ac834b7c22c6 (patch) | |
tree | bda0972a253e9f7dd52b130e4df4e261a3ef2363 /Zend/zend_istdiostream.h | |
parent | f4a53d0665c1ad8b71df8b82a074e10256d3d223 (diff) | |
download | php-git-dc2f1d9db78d835bdf0bd5b25e18ac834b7c22c6.tar.gz |
- Use supplied istdiostream definition for the INI scanner too
- Add Release_TSDbg configuration
Diffstat (limited to 'Zend/zend_istdiostream.h')
-rw-r--r-- | Zend/zend_istdiostream.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Zend/zend_istdiostream.h b/Zend/zend_istdiostream.h new file mode 100644 index 0000000000..1796abf15f --- /dev/null +++ b/Zend/zend_istdiostream.h @@ -0,0 +1,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
\ No newline at end of file |