diff --git a/.zigversion b/.zigversion index 867eba6..cea483f 100644 --- a/.zigversion +++ b/.zigversion @@ -1 +1 @@ -0.14.0-dev.1911+3bf89f55c \ No newline at end of file +0.14.0-dev.2563+af5e73172 diff --git a/build.zig b/build.zig index cdb9fa6..6719288 100644 --- a/build.zig +++ b/build.zig @@ -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;