From: Peter Kokot Date: Sun, 28 Apr 2019 03:15:47 +0000 (+0200) Subject: Remove unused TSRM/readdir.h header X-Git-Tag: php-7.4.0alpha1~399 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b931dacc888ed59ccae6598338fe604030c251d6;p=php Remove unused TSRM/readdir.h header This was once part of TSRM but then got refactored into the windows implementation win32/readdir.h directly. Instead of including such files directly code should use zend_virtual_cwd.h which is already part of the php.h file. --- diff --git a/TSRM/readdir.h b/TSRM/readdir.h deleted file mode 100644 index 11c0f31ea1..0000000000 --- a/TSRM/readdir.h +++ /dev/null @@ -1,3 +0,0 @@ -/* Keep this header for compatibility with external code, it's currently not - used anywhere in the core and there are no implementations in TSRM. */ -#include "win32/readdir.h" diff --git a/Zend/zend_virtual_cwd.h b/Zend/zend_virtual_cwd.h index dd8567cc51..a8cdcdc6f5 100644 --- a/Zend/zend_virtual_cwd.h +++ b/Zend/zend_virtual_cwd.h @@ -49,7 +49,7 @@ #endif #ifdef ZEND_WIN32 -#include "readdir.h" +#include "win32/readdir.h" #include #include "win32/ioutil.h" /* mode_t isn't defined on Windows */