svn: /pecl/solr/trunk/ php_solr_exception.c

From: Date: Sun, 01 Nov 2009 13:02:10 +0000
Subject: svn: /pecl/solr/trunk/ php_solr_exception.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-13211@lists.php.net to get a copy of this message
iekpo Sun, 01 Nov 2009 13:02:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=290121 Log: Changed the how the code determines if Zend Engine is 2.2 Changed paths: U pecl/solr/trunk/php_solr_exception.c Modified: pecl/solr/trunk/php_solr_exception.c =================================================================== --- pecl/solr/trunk/php_solr_exception.c 2009-11-01 12:59:46 UTC (rev 290120) +++ pecl/solr/trunk/php_solr_exception.c 2009-11-01 13:02:10 UTC (rev 290121) @@ -54,7 +54,7 @@ max_buffer_len = 2048; /* This should be sufficient to hold the buffer */ /* If this is PHP 5.2.x, since ap_php_vasprintf is only present in 5.3 */ -#if ((PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION == 2)) +#ifdef SOLR_ZEND_ENGINE_2_2 /* Allocate max_buffer_len bytes to hold the buffer */ message = (char *) malloc( sizeof(char) * max_buffer_len);

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