Skip to content

Commit 3219bd2

Browse files
3405691582dana
authored and
dana
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 99fce10 commit 3219bd2

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
@@ -2329,7 +2329,7 @@ _dispatch_operation_advise(dispatch_operation_t op, size_t chunk_size)
23292329
default: (void)dispatch_assume_zero(err); break;
23302330
}
23312331
#else
2332-
#error "_dispatch_operation_advise not implemented on this platform"
2332+
(void)err;
23332333
#endif // defined(F_RDADVISE)
23342334
#endif // defined(_WIN32)
23352335
}

0 commit comments

Comments
 (0)