From 75e86b44fc18f7de628027ceec8f81770a0f610b Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Sun, 29 Mar 2015 07:14:54 +0200 Subject: 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/date') 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) { -- cgit v1.2.1