From b931dacc888ed59ccae6598338fe604030c251d6 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 28 Apr 2019 05:15:47 +0200 Subject: [PATCH] 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. --- TSRM/readdir.h | 3 --- Zend/zend_virtual_cwd.h | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 TSRM/readdir.h 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 */ -- 2.40.0