Skip to content

Commit

Permalink
chore/fix deprecated build apis (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomcat-42 authored Jan 3, 2025
1 parent 1996547 commit 66a1a36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .zigversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.14.0-dev.1911+3bf89f55c
0.14.0-dev.2563+af5e73172
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
});
if (target.result.os.tag == .windows) {
lib.defineCMacro("JPC_API", "extern __declspec(dllexport)");
lib.root_module.addCMacro("JPC_API", "extern __declspec(dllexport)");
}
break :blk lib;
} else b.addStaticLibrary(.{
Expand Down

0 comments on commit 66a1a36

Please sign in to comment.