Re: [PATCH] Compile head on Win32

php.internals

Frank M. Kromann

20 years ago
Hi Rob, Working on a patch for those as well. - Frank
> 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

Marcus Börger

20 years ago
Hello Frank, thanks :-) marcus Friday, April 21, 2006, 11:26:18 PM, you wrote:
> Hi Rob,
> Working on a patch for those as well.
> - Frank
>> 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 >> > >> > >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >>
Best regards, Marcus