Skip to content

Commit

Permalink
fix: make M4 macro expand to a string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
leroycep committed Dec 10, 2024
1 parent a5aa3f0 commit 5f2697d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub fn build(b: *std.Build) void {
exe.root_module.addCMacro("HAVE_ASSERT_H", "");
exe.root_module.addCMacro("HAVE_LIMITS_H", "");
exe.root_module.addCMacro("HAVE_NETINET_IN_H", "");
exe.root_module.addCMacro("M4", "m4"); // path to default m4 binary
exe.root_module.addCMacro("M4", "\"m4\""); // path to default m4 binary

exe.root_module.addIncludePath(flex.path("src"));
exe.root_module.addCSourceFile(.{ .file = flex.path("src/buf.c") });
Expand Down

0 comments on commit 5f2697d

Please sign in to comment.