Skip to content

Commit a6b3682

Browse files
committed
Fix win32 build
1 parent f3e5773 commit a6b3682

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

main/php_scandir.c

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#ifndef HAVE_SCANDIR
3333

3434
#ifdef PHP_WIN32
35+
#include "win32/param.h"
3536
#include "win32/readdir.h"
3637
#endif
3738

win32/readdir.h

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
#include <sys/types.h>
1818
#include <direct.h>
1919

20+
#define php_readdir_r readdir_r
21+
2022
/* struct dirent - same as Unix */
2123

2224
struct dirent {

0 commit comments

Comments
 (0)