]> granicus.if.org Git - php/commitdiff
Drop this redundant check, since the minimum version of VC we support is VC11 (_MSC_V...
authorKalle Sommer Nielsen <kalle@php.net>
Sun, 29 Mar 2015 05:14:54 +0000 (07:14 +0200)
committerKalle Sommer Nielsen <kalle@php.net>
Sun, 29 Mar 2015 05:14:54 +0000 (07:14 +0200)
ext/date/php_date.c

index 40e471bc94348e8a77e6aedbbf2cb9f20b38b12e..94d3a19bcd7995d6ac3d699ffc2ac0c9133bee03 100644 (file)
@@ -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) {