Skip to content

Commit

Permalink
update to latest zig version
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
emidoots committed Dec 30, 2024
1 parent 5bf23f2 commit 1096142
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ pub fn build(b: *std.Build) void {
lib.installHeadersDirectory(b.path("c/include/brotli"), "brotli", .{});

switch (target.result.os.tag) {
.linux => lib.defineCMacro("OS_LINUX", "1"),
.freebsd => lib.defineCMacro("OS_FREEBSD", "1"),
.macos => lib.defineCMacro("OS_MACOSX", "1"),
.linux => lib.root_module.addCMacro("OS_LINUX", "1"),
.freebsd => lib.root_module.addCMacro("OS_FREEBSD", "1"),
.macos => lib.root_module.addCMacro("OS_MACOSX", "1"),
else => {},
}

Expand Down

0 comments on commit 1096142

Please sign in to comment.