1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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>
This commit is contained in:
Christoph M. Becker
2020-06-29 17:25:45 +02:00
parent bf6720d582
commit 07ff243f07
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,6 @@
#ifdef PHP_WIN32
#include <string.h>
#include "config.w32.h"
#define strdup _strdup
#undef WINDOWS
#undef strcasecmp
#undef strncasecmp

View File

@@ -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"