Skip to content

Commit b6a27c7

Browse files
committed
Revert "Fix macro redefinition warnings"
This reverts commit 23d2bd3.
1 parent 23d2bd3 commit b6a27c7

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

Zend/zend_config.w32.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,8 @@ typedef unsigned int uint;
5050
#if _MSC_VER < 1900
5151
#define snprintf _snprintf
5252
#endif
53-
#ifndef HAVE_STRCASECMP
5453
#define strcasecmp(s1, s2) _stricmp(s1, s2)
55-
#endif
56-
#ifndef HAVE_STRNCASECMP
5754
#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n)
58-
#endif
5955
#define zend_isinf(a) ((_fpclass(a) == _FPCLASS_PINF) || (_fpclass(a) == _FPCLASS_NINF))
6056
#define zend_finite(x) _finite(x)
6157
#define zend_isnan(x) _isnan(x)

sapi/apache2handler/config.w32

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ if (PHP_APACHE2_4HANDLER != "no") {
5151
'php' + PHP_VERSION + 'apache2_4.dll',
5252
'/D PHP_APACHE2_EXPORTS /I win32 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1',
5353
'sapi\\apache2handler');
54-
ADD_FLAG("CFLAGS_APACHE2_4HANDLER", "/D HAVE_STRCASECMP=1 /D HAVE_STRNCASECMP=1");
5554
} else {
5655
WARNING("Could not find apache 2.4 libraries/headers");
5756
}

0 commit comments

Comments
 (0)