]> granicus.if.org Git - php/commitdiff
Remove unused TSRM/readdir.h header
authorPeter Kokot <peterkokot@gmail.com>
Sun, 28 Apr 2019 03:15:47 +0000 (05:15 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Sun, 28 Apr 2019 22:51:13 +0000 (00:51 +0200)
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 [deleted file]
Zend/zend_virtual_cwd.h

diff --git a/TSRM/readdir.h b/TSRM/readdir.h
deleted file mode 100644 (file)
index 11c0f31..0000000
+++ /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"
index dd8567cc51c231e179f5bd02024c73480855fe53..a8cdcdc6f50645037c91c2f4fc30a0d1e36cc01b 100644 (file)
@@ -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 */