Skip to content

Commit 4fe8a54

Browse files
committed
define XXH_NAMESPACE
1 parent b459b50 commit 4fe8a54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

build.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ pub fn build(b: *std.Build) void {
2222
});
2323
b.installArtifact(lz4);
2424
lz4.root_module.addIncludePath(upstream.path("lib"));
25+
lz4.root_module.addCMacro("XXH_NAMESPACE", "LZ4_");
2526
lz4.installHeader(upstream.path("lib/lz4.h"), "lz4.h");
2627
lz4.installHeader(upstream.path("lib/lz4hc.h"), "lz4hc.h");
2728
lz4.installHeader(upstream.path("lib/lz4frame.h"), "lz4frame.h");

0 commit comments

Comments
 (0)