cvs: php-src /ext/ming ming.c

From: Date: Mon, 19 Jul 2004 22:23:12 +0000
Subject: cvs: php-src /ext/ming ming.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-27903@lists.php.net to get a copy of this message
fmk Mon Jul 19 18:23:12 2004 EDT Modified files: /php-src/ext/ming ming.c Log: Fix compilation with older versions of libMing. Thanks Markus http://cvs.php.net/diff.php/php-src/ext/ming/ming.c?r1=1.69&r2=1.70&ty=u Index: php-src/ext/ming/ming.c diff -u php-src/ext/ming/ming.c:1.69 php-src/ext/ming/ming.c:1.70 --- php-src/ext/ming/ming.c:1.69 Mon Jul 19 17:10:09 2004 +++ php-src/ext/ming/ming.c Mon Jul 19 18:23:12 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: ming.c,v 1.69 2004/07/19 21:10:09 fmk Exp $ */ +/* $Id: ming.c,v 1.70 2004/07/19 22:23:12 fmk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -2148,8 +2148,10 @@ retval = SWFMovie_output(getMovie(getThis() TSRMLS_CC), &phpStreamOutputMethod, (void *)stream); php_stream_close(stream); +#ifdef HAVE_MING_ZLIB if(oldval >= -1 && oldval <=9) Ming_setSWFCompression(oldval); +#endif RETURN_LONG(retval); }

« previous php.cvs (#27903) next »