We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6d9c08 commit 327928dCopy full SHA for 327928d
build.zig
@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) !void {
13
});
14
dsvpn.linkLibC();
15
dsvpn.addIncludePath(b.path("include"));
16
- dsvpn.defineCMacro("_GNU_SOURCE", "1");
+ dsvpn.root_module.addCMacro("_GNU_SOURCE", "1");
17
const source_files = &.{ "src/charm.c", "src/os.c", "src/vpn.c" };
18
dsvpn.addCSourceFiles(.{ .files = source_files });
19
b.installArtifact(dsvpn);
0 commit comments