cvs: pecl /bz2 bz2.c

From: Date: Mon, 13 Jun 2005 19:33:39 +0000
Subject: cvs: pecl /bz2 bz2.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-3275@lists.php.net to get a copy of this message
edink Mon Jun 13 15:33:39 2005 EDT Modified files: /pecl/bz2 bz2.c Log: MFB: MSVC++ 6.0 doesn't support long long type http://cvs.php.net/diff.php/pecl/bz2/bz2.c?r1=1.12&r2=1.13&ty=u Index: pecl/bz2/bz2.c diff -u pecl/bz2/bz2.c:1.12 pecl/bz2/bz2.c:1.13 --- pecl/bz2/bz2.c:1.12 Thu Jun 9 12:13:14 2005 +++ pecl/bz2/bz2.c Mon Jun 13 15:33:39 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: bz2.c,v 1.12 2005/06/09 16:13:14 iliaa Exp $ */ +/* $Id: bz2.c,v 1.13 2005/06/13 19:33:39 edink Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -441,7 +441,11 @@ 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)) {

« previous php.pecl.cvs (#3275) next »