summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-03-24 23:43:25 -0700
committerStanislav Malyshev <stas@php.net>2013-03-24 23:43:25 -0700
commit016fbd99914e51b686791fa5acf367cd2d9c35b8 (patch)
treedf38ed89fadd121869bf2afcdc1979ef646e6ff5 /ext
parent385d0e52cc527393269a48f2fdd01aa1541b4e1f (diff)
downloadphp-git-016fbd99914e51b686791fa5acf367cd2d9c35b8.tar.gz
fix return value
Diffstat (limited to 'ext')
-rw-r--r--ext/opcache/config.m42
1 files changed, 1 insertions, 1 deletions
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,