From: Edin Kadribasic Date: Mon, 13 Jun 2005 19:33:39 +0000 (+0000) Subject: MFB: MSVC++ 6.0 doesn't support long long type X-Git-Tag: php-5.1.0b2~217 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60b465fc5bbf72c0532b087908708462326dadb1;p=php MFB: MSVC++ 6.0 doesn't support long long type --- diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 2bf1e57de6..efe0aab3ec 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -441,7 +441,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)) {