From 016fbd99914e51b686791fa5acf367cd2d9c35b8 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sun, 24 Mar 2013 23:43:25 -0700 Subject: fix return value --- ext/opcache/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opcache/config.m4 b/ext/opcache/config.m4 index 70cd4e9ecc..81b06e9eab 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; } ], [], [AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])], []) PHP_NEW_EXTENSION(opcache, -- cgit v1.2.1