/ext/zlib can not be compiled in latest CVS
| From: | Oleg Makarenko | Date: | Mon, 23 Oct 2000 13:36:15 +0000 |
| Subject: | /ext/zlib can not be compiled in latest CVS | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35882@lists.php.net to get a copy of this message | ||
just more typos.
it doesn't work that way as php.h includes zend.h and it includes stdio
and it includes libio.h :)
so you should include libio.h (or stdio) *before* php.h if you are going
to make _GNU_SOURCE tricks.
Or define _GNU_SOURCE directly in php.h (or zend.h but before #include
<stdio.h>)...
Best,
Oleg