From: Stanislav Malyshev Date: Mon, 25 Mar 2013 06:58:30 +0000 (-0700) Subject: make it int main X-Git-Tag: php-5.5.0beta2~13^2~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c20e4bbc9678906b12a39747f79d29654ac6c2c5;p=php make it int main --- 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,