1
0
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:
Anatol Belski
2014-11-13 10:47:57 +01:00
parent 8644f4624c
commit 191fe09e33
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}

View File

@@ -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);
}