diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2015-03-29 07:14:54 +0200 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2015-03-29 07:14:54 +0200 |
commit | 75e86b44fc18f7de628027ceec8f81770a0f610b (patch) | |
tree | e2cf54e660c3d8f1f50280441c7d4386869096e5 /ext/date | |
parent | 313d01f30afc4649cbb9eedd2ec11a9fac5bf932 (diff) | |
download | php-git-75e86b44fc18f7de628027ceec8f81770a0f610b.tar.gz |
Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_VER == 1700) in ext/date
Diffstat (limited to 'ext/date')
-rw-r--r-- | ext/date/php_date.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 40e471bc94..94d3a19bcd 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -1671,7 +1671,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt) break; } } -#if defined(PHP_WIN32) && _MSC_VER >= 1700 +#ifdef PHP_WIN32 /* VS2012 strftime() returns number of characters, not bytes. See VC++11 bug id 766205. */ if (real_len > 0) { |