build: rename use_fsevents build option to macos_fsevents

This commit is contained in:
CJ van den Berg 2026-03-08 09:57:30 +01:00
parent 82344d475b
commit 4a8ab550e9
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
2 changed files with 5 additions and 5 deletions

View file

@ -174,7 +174,7 @@ fn recurse_watch(backend: *Backend, allocator: std.mem.Allocator, dir_path: []co
const Backend = switch (builtin.os.tag) {
.linux => INotifyBackend,
.macos => if (build_options.use_fsevents) FSEventsBackend else KQueueBackend,
.macos => if (build_options.macos_fsevents) FSEventsBackend else KQueueBackend,
.freebsd => KQueueBackend,
.windows => WindowsBackend,
else => @compileError("file_watcher: unsupported OS"),