summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-06-29 17:25:45 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-06-29 19:11:22 +0200
commit07ff243f07d5cca7ee842d57b391cce681b082d7 (patch)
treebe4f87448ba94b195d8bcd9f39a0571b90160044 /win32
parentbf6720d582de512fb6a8dd42c8515bc14e0953c5 (diff)
downloadphp-git-07ff243f07d5cca7ee842d57b391cce681b082d7.tar.gz
Fix macro redifinition warnings in debug builds
MSVC considers these warnings[1] to be severe (level 1), so we better fix the respective code. [1] <https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4005?view=vs-2019>
Diffstat (limited to 'win32')
-rw-r--r--win32/readdir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/readdir.c b/win32/readdir.c
index c172f16fc2..efa7bd5966 100644
--- a/win32/readdir.c
+++ b/win32/readdir.c
@@ -1,8 +1,9 @@
+#include "php.h"
+
#include <malloc.h>
#include <string.h>
#include <errno.h>
-#include "php.h"
#include "readdir.h"
#include "win32/ioutil.h"