Re: Re: ZEND_MODULE_API_NO in ZE2 [was Re: [PHP-CVS] cvs: php4 /ext/xmlrpc config.m4 /ext/xmlrpc/libxmlrpc acinclude.m4 xmlrpc.h xmlrpc.m4]
| From: | James Moore | Date: | Thu, 27 Sep 2001 08:19:46 +0000 |
| Subject: | Re: Re: ZEND_MODULE_API_NO in ZE2 [was Re: [PHP-CVS] cvs: php4 /ext/xmlrpc config.m4 /ext/xmlrpc/libxmlrpc acinclude.m4 xmlrpc.h xmlrpc.m4] | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs php.dev |
| Request: | Send a blank email to php-cvs+get-7593@lists.php.net to get a copy of this message | ||
> At 09:00 AM 9/27/2001 +0200, Markus Fischer wrote:
> >On Wed, Sep 26, 2001 at 06:32:00PM -0500, Dan Libby wrote :
> > > works for me. there is already an ifdef around the call that checks
for
> > > API version.
> > >
> > > I did find that it no longer links with the built-in expat due to
> > > function redefines (php_XML_*), so I added an include of php_compat.h
in
> > > /ext/xml/expat/expat.h
> >
> >Yeah, lazy me I didn't take a look at myself. And I probably can
> >think already what causes this: I was using the ZendEngine2.
> >
> >Shouldnt the ZEND_MODULE_API_NO in zend_modules.h also be bumped
> >up for ZendEngine2; Zeev, Andi?
>
> I set it to todays date.
do you think it would be woth calling it somthing different from ZE1 IE
ZEND2_MODULE_API_NO or #define ZEND_VERSION_2 for nice easy preprocessing
usage if someone is trying to make somthing compatible with ZE1 and ZE2.
- James