On Tuesday 12 November 2002 00:40, Marcus Boerger wrote: > helly Mon Nov 11 18:40:33 2002 EDT > > Modified files: > /php4/ext/standard flock_compat.c flock_compat.h > Log: > make flock() a function again when it is missing
> #ifndef HAVE_FLOCK > -/* defines flock as php_flock */ > +PHPAPI int php_flock(int fd, int operation) > +{ > + return php_flock(fd, operation); > +} > #endif /* !defined(HAVE_FLOCK) */ Erm, this doesn't look right and gives the following compile error: Compiling... file.c flock_compat.c c:\php4build\php4-new\ext\standard\flock_compat.c(125) : error C2084: function 'int __cdecl php_flock(int ,in t )' already has a body mod_files.c Error executing cl.exe. php-cgi.exe - 1 error(s), 0 warning(s) Edin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php