summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-04-28 05:15:47 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-04-29 00:51:13 +0200
commitb931dacc888ed59ccae6598338fe604030c251d6 (patch)
tree2a6f129539af6afb7a95d86f08adaf561985f78f
parent8446554fedc194f5fc660bac754cc547f6a876b4 (diff)
downloadphp-git-b931dacc888ed59ccae6598338fe604030c251d6.tar.gz
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.
-rw-r--r--TSRM/readdir.h3
-rw-r--r--Zend/zend_virtual_cwd.h2
2 files changed, 1 insertions, 4 deletions
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 <sys/utime.h>
#include "win32/ioutil.h"
/* mode_t isn't defined on Windows */