This code converts mingw's .def.in files to .def files: https://github.com/ziglang/zig/blob/1c85b0acbb5148dec7ff671e767354f3df5c6b83/src/mingw.zig#L291-L293 https://github.com/ziglang/zig/blob/1c85b0acbb5148dec7ff671e767354f3df5c6b83/src/mingw.zig#L348-L375 Instead of using clang's preprocessor, it should use Aro's. Related: * #17752 cc @Vexu @ehaas