From: Edin Kadribasic Date: Mon, 13 Jun 2005 19:32:15 +0000 (+0000) Subject: MSVC++ 6.0 doesn't support long long type X-Git-Tag: php-4.4.0RC2~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd6a541974af37f8e5bdf8dc010d177031cf1359;p=php MSVC++ 6.0 doesn't support long long type --- diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 63fee78e85..f280880b94 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -434,7 +434,11 @@ PHP_FUNCTION(bzdecompress) char *source, *dest; int source_len, error; long small = 0; +#if defined(PHP_WIN32) && _MSC_VER < 1300 + unsigned __int64 size = 0; +#else unsigned long long size = 0; +#endif bz_stream bzs; if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &small)) {