mirror of
https://github.com/php/php-src.git
synced 2026-03-30 04:02:19 +02:00
HAVE_STRNLEN should be in all toolsets
This commit is contained in:
@@ -146,7 +146,7 @@ ADD_SOURCES("win32", "inet.c fnmatch.c sockets.c");
|
||||
if (VS_TOOLSET && VCVERS <= 1300) {
|
||||
ADD_SOURCES("win32", "strtoi64.c");
|
||||
}
|
||||
if (VS_TOOLSET && VCVERS >= 1400 || ICC_TOOLSET) {
|
||||
if (VS_TOOLSET && VCVERS >= 1400 || !VS_TOOLSET) {
|
||||
AC_DEFINE('HAVE_STRNLEN', 1);
|
||||
}
|
||||
|
||||
|
||||
@@ -106,7 +106,7 @@ if (VS_TOOLSET && VCVERS == 1200) {
|
||||
AC_DEFINE('ZEND_DVAL_TO_LVAL_CAST_OK', 1);
|
||||
}
|
||||
|
||||
if (ICC_TOOLSET || VS_TOOLSET && VCVERS >= 1400) {
|
||||
if (!VS_TOOLSET || VS_TOOLSET && VCVERS >= 1400) {
|
||||
AC_DEFINE('HAVE_STRNLEN', 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user