Re: cvs: php4 /ext/zlib zlib.c
| From: | Andi Gutmans | Date: | Mon, 23 Oct 2000 16:09:03 +0000 |
| Subject: | Re: cvs: php4 /ext/zlib zlib.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-2251@lists.php.net to get a copy of this message | ||
So put the #define before including "php.h".
You shouldn't directly include php_config.h because it doesn't exist on Windows and #ifdef'ing it out isn't the right thing either. php.h does the right thing.
Andi
At 06:00 PM 10/23/00 +0200, Stanislav Malyshev wrote:
AG>> Why does #including'ing php.h in the beginning break the build? AG>> On a whole, this is the right thing to do. Is anything defined AG>> there screwing up the build? Because php.h includes stdio.h, and this file needs #define before stdio.h -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106--- Andi Gutmans <andi@zend.com> http://www.zend.com/