build: add the other BSDs
This commit is contained in:
parent
1e29da7765
commit
0f048dc47d
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ fn recurse_watch(backend: *Backend, allocator: std.mem.Allocator, dir_path: []co
|
||||||
const Backend = switch (builtin.os.tag) {
|
const Backend = switch (builtin.os.tag) {
|
||||||
.linux => INotifyBackend,
|
.linux => INotifyBackend,
|
||||||
.macos => if (build_options.macos_fsevents) FSEventsBackend else KQueueBackend,
|
.macos => if (build_options.macos_fsevents) FSEventsBackend else KQueueBackend,
|
||||||
.freebsd => KQueueBackend,
|
.freebsd, .openbsd, .netbsd, .dragonfly => KQueueBackend,
|
||||||
.windows => WindowsBackend,
|
.windows => WindowsBackend,
|
||||||
else => @compileError("file_watcher: unsupported OS"),
|
else => @compileError("file_watcher: unsupported OS"),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue