From 4ca618683f25a18c057b92c13bb754d778430b60 Mon Sep 17 00:00:00 2001 From: 3405691582 Date: Tue, 13 Oct 2020 19:59:28 -0400 Subject: [PATCH] fadvise need not be mandatory. It is just a hint, after all, so it is not an error if it is unavailable. --- src/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io.c b/src/io.c index cbea654cb..07febf51c 100644 --- a/src/io.c +++ b/src/io.c @@ -2308,7 +2308,7 @@ _dispatch_operation_advise(dispatch_operation_t op, size_t chunk_size) default: (void)dispatch_assume_zero(err); break; } #else -#error "_dispatch_operation_advise not implemented on this platform" + (void)err; #endif // defined(F_RDADVISE) #endif // defined(_WIN32) }