mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Merge branch 'PHP-7.2'
* PHP-7.2: Revert "Fix macro redefinition warnings"
This commit is contained in:
commit
821bdbdfba
2 changed files with 0 additions and 5 deletions
|
@ -50,12 +50,8 @@ typedef unsigned int uint;
|
|||
#if _MSC_VER < 1900
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#ifndef HAVE_STRCASECMP
|
||||
#define strcasecmp(s1, s2) _stricmp(s1, s2)
|
||||
#endif
|
||||
#ifndef HAVE_STRNCASECMP
|
||||
#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n)
|
||||
#endif
|
||||
#define zend_isinf(a) ((_fpclass(a) == _FPCLASS_PINF) || (_fpclass(a) == _FPCLASS_NINF))
|
||||
#define zend_finite(x) _finite(x)
|
||||
#define zend_isnan(x) _isnan(x)
|
||||
|
|
|
@ -51,7 +51,6 @@ if (PHP_APACHE2_4HANDLER != "no") {
|
|||
'php' + PHP_VERSION + 'apache2_4.dll',
|
||||
'/D PHP_APACHE2_EXPORTS /I win32 /DZEND_ENABLE_STATIC_TSRMLS_CACHE=1',
|
||||
'sapi\\apache2handler');
|
||||
ADD_FLAG("CFLAGS_APACHE2_4HANDLER", "/D HAVE_STRCASECMP=1 /D HAVE_STRNCASECMP=1");
|
||||
} else {
|
||||
WARNING("Could not find apache 2.4 libraries/headers");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue