brought back that vs2012 fix

This commit is contained in:
Anatol Belski 2014-08-19 09:37:38 +02:00
parent 53c4c571b3
commit d4f463cf08

View File

@ -1698,7 +1698,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 = buf->len;
real_len = strlen(buf->val);
}
#endif