Re: com php-src: fix return value: ext/opcache/config.m4
| From: | Laruence | Date: | Mon, 25 Mar 2013 06:46:24 +0000 |
| Subject: | Re: com php-src: fix return value: ext/opcache/config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-71732@lists.php.net to get a copy of this message | ||
On Mon, Mar 25, 2013 at 2:43 PM, Stanislav Malyshev <stas@php.net> wrote:
> Commit: 016fbd99914e51b686791fa5acf367cd2d9c35b8
> Author: Stanislav Malyshev <stas@php.net> 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/