Re: Including bandled expat.h
| From: | derick@php.net | Date: | Mon, 11 Mar 2002 07:51:25 +0000 |
| Subject: | Re: Including bandled expat.h | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80989@lists.php.net to get a copy of this message | ||
On Mon, 11 Mar 2002, Yasuo Ohgaki wrote:
> Any reason not to including bandled expat.h explicitly?
> Any comments for possible fix?
The bundled file may differ from the used library, so this is not a good
idea.
Derick
>
> Index: ext/wddx/php_wddx.h
> ===================================================================
> RCS file: /repository/php4/ext/wddx/php_wddx.h,v
> retrieving revision 1.10
> diff -u -r1.10 php_wddx.h
> --- ext/wddx/php_wddx.h 28 Feb 2002 08:26:56 -0000 1.10
> +++ ext/wddx/php_wddx.h 11 Mar 2002 07:02:18 -0000
> @@ -23,7 +23,7 @@
>
> #if HAVE_WDDX
>
> -#include <expat.h>
> +#include "ext/xml/expat/expat.h"
>
> extern zend_module_entry wddx_module_entry;
> #define wddx_module_ptr &wddx_module_entry
> Index: ext/xml/php_xml.h
> ===================================================================
> RCS file: /repository/php4/ext/xml/php_xml.h,v
> retrieving revision 1.19
> diff -u -r1.19 php_xml.h
> --- ext/xml/php_xml.h 11 Dec 2001 15:30:51 -0000 1.19
> +++ ext/xml/php_xml.h 11 Mar 2002 07:02:18 -0000
> @@ -35,7 +35,7 @@
>
> #if defined(PHP_XML_INTERNAL)
>
> -#include <expat.h>
> +#include "ext/xml/expat/expat.h"
>
> #ifdef PHP_WIN32
> #define PHP_XML_API __declspec(dllexport)
>
> --
> Yasuo Ohgaki
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
----------------------------------------------------------------------
PHP: Scripting the Web - derick@php.net
All your branches are belong to me!
SRM: Site Resource Manager - www.vl-srm.net
-----------------------------------------------------------------------