Skip to content

Commit 667206d

Browse files
committed
Upgrade Zig to 2024.11.0-mach nominated ver.
1 parent 9d3f75c commit 667206d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.zigversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.14.0-dev.1911+3bf89f55c
1+
0.14.0-dev.2577+271452d22

build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn build(b: *std.Build) void {
5858
.target = target,
5959
.optimize = optimize,
6060
});
61-
lib.defineCMacro("TRACY_EXPORTS", "");
61+
lib.root_module.addCMacro("TRACY_EXPORTS", "");
6262
break :blk lib;
6363
} else b.addStaticLibrary(.{
6464
.name = "tracy",
@@ -76,13 +76,13 @@ pub fn build(b: *std.Build) void {
7676
},
7777
});
7878

79-
if (options.on_demand) tracy.defineCMacro("TRACY_ON_DEMAND", null);
79+
if (options.on_demand) tracy.root_module.addCMacro("TRACY_ON_DEMAND", "");
8080

8181
tracy.linkLibC();
8282
if (target.result.abi != .msvc) {
8383
tracy.linkLibCpp();
8484
} else {
85-
tracy.defineCMacro("fileno", "_fileno");
85+
tracy.root_module.addCMacro("fileno", "_fileno");
8686
}
8787

8888
switch (target.result.os.tag) {

0 commit comments

Comments
 (0)