From c20e4bbc9678906b12a39747f79d29654ac6c2c5 Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sun, 24 Mar 2013 23:58:30 -0700 Subject: [PATCH] make it int main --- 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 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, -- 2.50.1