From f2b370e470a295aff51c9fbae972ae00b5ecb0fd Mon Sep 17 00:00:00 2001 From: philsmd Date: Tue, 14 Feb 2017 16:53:01 +0100 Subject: [PATCH] file locking: for windows we need to just return 0 (otherwise compiler complains) --- src/locking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/locking.c b/src/locking.c index 4b7bd4a26..86e65df87 100644 --- a/src/locking.c +++ b/src/locking.c @@ -55,6 +55,8 @@ int lock_file (MAYBE_UNUSED FILE *fp) int unlock_file (MAYBE_UNUSED FILE *fp) { // we should put windows specific code here + + return 0; } #endif // F_SETLKW