| ... | ... | @@ -71,11 +71,11 @@ pub fn main(init: std.process.Init) !void { |
| 71 | 71 | var pp: Preprocessor = .{ |
| 72 | 72 | .io = io, |
| 73 | 73 | .arena = pp_arena, |
| 74 | | .include_dir = mingw_include_path, |
| 74 | .include_dir = .initCwd(mingw_include_path), |
| 75 | 75 | .target = target, |
| 76 | 76 | }; |
| 77 | 77 | |
| 78 | | pp.preprocess(file_path) catch |err| { |
| 78 | pp.preprocess(.initCwd(file_path)) catch |err| { |
| 79 | 79 | std.log.err("error preprocessing file {s} for target {t}: {t}", .{ entry.path, target.cpu.arch, err }); |
| 80 | 80 | fail = true; |
| 81 | 81 | continue; |