Skip to content

Commit

Permalink
chore/fix deprecated build apis (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomcat-42 authored Jan 3, 2025
1 parent 696f568 commit 84a6b4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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
8 changes: 4 additions & 4 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ pub fn build(b: *std.Build) void {
});

if (target.result.os.tag == .windows) {
lib.defineCMacro("PAR_SHAPES_API", "__declspec(dllexport)");
lib.defineCMacro("CGLTF_API", "__declspec(dllexport)");
lib.defineCMacro("MESHOPTIMIZER_API", "__declspec(dllexport)");
lib.defineCMacro("ZMESH_API", "__declspec(dllexport)");
lib.root_module.addCMacro("PAR_SHAPES_API", "__declspec(dllexport)");
lib.root_module.addCMacro("CGLTF_API", "__declspec(dllexport)");
lib.root_module.addCMacro("MESHOPTIMIZER_API", "__declspec(dllexport)");
lib.root_module.addCMacro("ZMESH_API", "__declspec(dllexport)");
}

break :blk lib;
Expand Down

0 comments on commit 84a6b4f

Please sign in to comment.