1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 20:22:36 +02:00

fix build

This commit is contained in:
Pierre Joye
2014-05-15 09:38:26 +02:00
parent 89a6d2bc53
commit 6a3ee29785

View File

@@ -1694,7 +1694,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
/* VS2012 strftime() returns number of characters, not bytes.
See VC++11 bug id 766205. */
if (real_len > 0) {
real_len = strlen(buf);
real_len = buf->len;
}
#endif