mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove outdated Zend/zend_istdiostream.h file (#13765)
This removes the unused and obsolete Zend/zend_istdiostream.h header and symbols on Windows: - HAVE_STDIOSTR_H - HAVE_CLASS_ISTDIOSTREAM - istdiostream
This commit is contained in:
parent
e1630381b7
commit
79e4ca1e41
3 changed files with 1 additions and 38 deletions
|
@ -91,6 +91,7 @@ PHP 8.4 INTERNALS UPGRADE NOTES
|
||||||
- Symbol DBA_CDB_MAKE removed in ext/dba.
|
- Symbol DBA_CDB_MAKE removed in ext/dba.
|
||||||
- Symbol HAVE_LIBM has been removed.
|
- Symbol HAVE_LIBM has been removed.
|
||||||
- Symbol HAVE_INET_ATON has been removed.
|
- Symbol HAVE_INET_ATON has been removed.
|
||||||
|
- The Zend/zend_istdiostream.h header has been removed.
|
||||||
|
|
||||||
b. Unix build system changes
|
b. Unix build system changes
|
||||||
- The configure option --with-imap-ssl has been removed.
|
- The configure option --with-imap-ssl has been removed.
|
||||||
|
|
|
@ -38,10 +38,6 @@
|
||||||
|
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
#define HAVE_STDIOSTR_H 1
|
|
||||||
#define HAVE_CLASS_ISTDIOSTREAM
|
|
||||||
#define istdiostream stdiostream
|
|
||||||
|
|
||||||
#if _MSC_VER < 1900
|
#if _MSC_VER < 1900
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
/*
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Zend Engine |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Copyright (c) Zend Technologies Ltd. (http://www.zend.com) |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| This source file is subject to version 2.00 of the Zend license, |
|
|
||||||
| that is bundled with this package in the file LICENSE, and is |
|
|
||||||
| available through the world-wide-web at the following url: |
|
|
||||||
| http://www.zend.com/license/2_00.txt. |
|
|
||||||
| If you did not receive a copy of the Zend license and are unable to |
|
|
||||||
| obtain it through the world-wide-web, please send a note to |
|
|
||||||
| license@zend.com so we can mail you a copy immediately. |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
| Authors: Andi Gutmans <andi@php.net> |
|
|
||||||
| Zeev Suraski <zeev@php.net> |
|
|
||||||
+----------------------------------------------------------------------+
|
|
||||||
*/
|
|
||||||
|
|
||||||
#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
|
|
Loading…
Add table
Add a link
Reference in a new issue