From 2f06a4fa77c7e03a32883eb18b64f161c135ce38 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Mon, 11 Nov 2002 16:43:19 +0000 Subject: [PATCH] make flock PHPAPI --- ext/standard/flock_compat.c | 2 +- ext/standard/flock_compat.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0