File tree 2 files changed +4
-4
lines changed
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 @@ -45,7 +45,7 @@ pub fn build(b: *std.Build) void {
45
45
.optimize = optimize ,
46
46
});
47
47
if (target .result .os .tag == .windows ) {
48
- lib .defineCMacro ("_GLFW_BUILD_DLL" , null );
48
+ lib .root_module . addCMacro ("_GLFW_BUILD_DLL" , "" );
49
49
}
50
50
break :blk lib ;
51
51
} else b .addStaticLibrary (.{
@@ -188,7 +188,7 @@ pub fn build(b: *std.Build) void {
188
188
},
189
189
.flags = &.{},
190
190
});
191
- glfw .defineCMacro ("_GLFW_X11" , "1" );
191
+ glfw .root_module . addCMacro ("_GLFW_X11" , "1" );
192
192
glfw .linkSystemLibrary ("X11" );
193
193
}
194
194
if (options .enable_wayland ) {
@@ -200,7 +200,7 @@ pub fn build(b: *std.Build) void {
200
200
},
201
201
.flags = &.{},
202
202
});
203
- glfw .defineCMacro ("_GLFW_WAYLAND" , "1" );
203
+ glfw .root_module . addCMacro ("_GLFW_WAYLAND" , "1" );
204
204
}
205
205
},
206
206
else = > {},
You can’t perform that action at this time.
0 commit comments