]> granicus.if.org Git - php/commitdiff
make flock PHPAPI
authorMarcus Boerger <helly@php.net>
Mon, 11 Nov 2002 16:43:19 +0000 (16:43 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 11 Nov 2002 16:43:19 +0000 (16:43 +0000)
ext/standard/flock_compat.c
ext/standard/flock_compat.h

index 35f7ea411e383169ad45539697eecb02aa75fb50..44f0b5c6ac159900b60ea896b530d0f8b5361659 100644 (file)
@@ -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;
index d352f5116e76947b5cc45ea9b02ed9f6061782f0..4b67b5cb044f1b00d9c04c954342e1e38ee4dd13 100644 (file)
@@ -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