From fd6a541974af37f8e5bdf8dc010d177031cf1359 Mon Sep 17 00:00:00 2001 From: Edin Kadribasic Date: Mon, 13 Jun 2005 19:32:15 +0000 Subject: [PATCH] MSVC++ 6.0 doesn't support long long type --- ext/bz2/bz2.c | 4 ++++ 1 file changed, 4 insertions(+) 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)) { -- 2.50.1