Skip to content

Commit 0e0a6b7

Browse files
committed
fadvise need not be mandatory.
It is just a hint, after all, so it is not an error if it is unavailable.
1 parent 76099e7 commit 0e0a6b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/io.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2308,7 +2308,7 @@ _dispatch_operation_advise(dispatch_operation_t op, size_t chunk_size)
23082308
default: (void)dispatch_assume_zero(err); break;
23092309
}
23102310
#else
2311-
#error "_dispatch_operation_advise not implemented on this platform"
2311+
(void)err;
23122312
#endif // defined(F_RDADVISE)
23132313
#endif // defined(_WIN32)
23142314
}

0 commit comments

Comments
 (0)