File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
- 0.14.0-dev.1911+3bf89f55c
1
+ 0.14.0-dev.2563+af5e73172
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ pub fn build(b: *std.Build) void {
58
58
.target = target ,
59
59
.optimize = optimize ,
60
60
});
61
- lib .defineCMacro ("TRACY_EXPORTS" , "" );
61
+ lib .root_module . addCMacro ("TRACY_EXPORTS" , "" );
62
62
break :blk lib ;
63
63
} else b .addStaticLibrary (.{
64
64
.name = "tracy" ,
@@ -76,13 +76,13 @@ pub fn build(b: *std.Build) void {
76
76
},
77
77
});
78
78
79
- if (options .on_demand ) tracy .defineCMacro ("TRACY_ON_DEMAND" , null );
79
+ if (options .on_demand ) tracy .root_module . addCMacro ("TRACY_ON_DEMAND" , "" );
80
80
81
81
tracy .linkLibC ();
82
82
if (target .result .abi != .msvc ) {
83
83
tracy .linkLibCpp ();
84
84
} else {
85
- tracy .defineCMacro ("fileno" , "_fileno" );
85
+ tracy .root_module . addCMacro ("fileno" , "_fileno" );
86
86
}
87
87
88
88
switch (target .result .os .tag ) {
You can’t perform that action at this time.
0 commit comments