From: Marcus Boerger Date: Mon, 11 Nov 2002 16:43:19 +0000 (+0000) Subject: make flock PHPAPI X-Git-Tag: php-4.3.0RC1~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f06a4fa77c7e03a32883eb18b64f161c135ce38;p=php make flock PHPAPI --- diff --git a/ext/standard/flock_compat.c b/ext/standard/flock_compat.c index 35f7ea411e..44f0b5c6ac 100644 --- a/ext/standard/flock_compat.c +++ b/ext/standard/flock_compat.c @@ -41,7 +41,7 @@ #endif #ifndef HAVE_FLOCK -int flock(int fd, int operation) +PHPAPI int flock(int fd, int operation) #if HAVE_STRUCT_FLOCK { struct flock flck; diff --git a/ext/standard/flock_compat.h b/ext/standard/flock_compat.h index d352f5116e..4b67b5cb04 100644 --- a/ext/standard/flock_compat.h +++ b/ext/standard/flock_compat.h @@ -26,7 +26,7 @@ # define LOCK_EX 2 # define LOCK_NB 4 # define LOCK_UN 8 -int flock(int fd, int operation); +PHPAPI int flock(int fd, int operation); #endif #ifdef PHP_WIN32