Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ pub fn build(b: *std.Build) !void {
// `windows.h` which is problematic when cross compiling
// from a case-sensitive filesystem.
// https://github.com/llvm/llvm-project/issues/161400
if (target.result.os.tag == .windows) {
if (target.result.os.tag == .windows and b.resolveTargetQuery(.{}).result.os.tag != .windows) {
const upper_case_windows_h = b.addWriteFiles().add("Windows.h", "#include <windows.h>");
tracy_profiler.root_module.addIncludePath(upper_case_windows_h.dirname());
}
Expand Down
1 change: 1 addition & 0 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@
.paths = .{
"capture",
"csvexport",
"icon",
"import",
"include",
"manual/tracy.md",
Expand Down