com php-src: Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_VER == 1700) in ext/date: ext/date/php_date.c

From: Date: Sun, 29 Mar 2015 05:14:54 +0000
Subject: com php-src: Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_VER == 1700) in ext/date: ext/date/php_date.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85910@lists.php.net to get a copy of this message
Commit: 75e86b44fc18f7de628027ceec8f81770a0f610b Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 29 Mar 2015 07:14:54 +0200 Parents: 313d01f30afc4649cbb9eedd2ec11a9fac5bf932 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=75e86b44fc18f7de628027ceec8f81770a0f610b Log: Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_VER == 1700) in ext/date Changed paths: M ext/date/php_date.c Diff: diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 40e471b..94d3a19 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) {

« previous php.cvs (#85910) next »