On Mon, Mar 25, 2013 at 2:43 PM, Stanislav Malyshev wrote:
> Commit:016fbd99914e51b686791fa5acf367cd2d9c35b8
> Author:Stanislav Malyshev Sun, 24 Mar 2013
> 23:43:25 -0700
> Parents: 385d0e52cc527393269a48f2fdd01aa1541b4e1f
> Branches: PHP-5.5 master
>
> Link:
> http://git.php.net/?p=php-src.git;a=commitdiff;h=016fbd99914e51b686791fa5acf367cd2d9c35b8
>
> Log:
> fix return value
>
> Changed paths:
> M ext/opcache/config.m4
>
>
> Diff:
> diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4
> index 70cd4e9..81b06e9 100644
> --- a/ext/opcache/config.m4
> +++ b/ext/opcache/config.m4
> @@ -356,7 +356,7 @@ extern int lock_file;
> # error "Don't know how to define struct flock"
> # endif
> #endif
> -void main() {}
> +void main() { return 0; }
int main() ?
> ], [], [AC_MSG_ERROR([Don't know how to define struct flock on this
> system[,] set --enable-opcache=no])], [])
>
>PHP_NEW_EXTENSION(opcache,
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
Laruence Xinchen Hui
http://www.laruence.com/
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php