Re: [PATCH] Compile head on Win32
| From: | Rob Richards | Date: | Fri, 21 Apr 2006 20:59:07 +0000 |
| Subject: | Re: [PATCH] Compile head on Win32 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22914@lists.php.net to get a copy of this message | ||
If this patch is used to fix the build, the same change need to be made in:
ext/spl/spl_directory.c
ext/standard/image.c (php_stream_gets)
sapi/cli/php_cli.c (php_stream_gets)
Frank M. Kromann wrote:
Hello Everyone, Here is a patch that makes it possible to compile HEAD on win32. http://kromann.info/diff-file.c php_stream_get_line_ex() and php_stream_get_line() are both defined as macros where the buf parameter is replaced with ZSTR(buf). Setting buf to NULL_ZSTR causes the function to be called with ZSTR(NULL_ZSTR) and that does not make any sence. Please let me know if it's ok to commit this. - Frank