summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-03-24 23:58:30 -0700
committerStanislav Malyshev <stas@php.net>2013-03-24 23:58:30 -0700
commitc20e4bbc9678906b12a39747f79d29654ac6c2c5 (patch)
treef60a2ef88094e6ba2f8b9f9f064e2179ac67b641
parent016fbd99914e51b686791fa5acf367cd2d9c35b8 (diff)
downloadphp-git-c20e4bbc9678906b12a39747f79d29654ac6c2c5.tar.gz
make it int main
-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 81b06e9eab..f9c38b1f79 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() { return 0; }
+int 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,