# Compilation: add definition to prefer ucrt for windows C/C\+\+ files · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/7b3afc880b1ab018e6cec5f429de44a04088bacb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 7b3afc880b1ab018e6cec5f429de44a04088bacb

Requested commit: 7b3afc880b1ab018e6cec5f429de44a04088bacb

Commit: 7b3afc880b1ab018e6cec5f429de44a04088bacb

Tree: edce9e691855610a8451b152c60e0079d85b800c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Compilation: add definition to prefer ucrt for windows C/C++ files

This makes C/C++ files when targeting mingw-w64 choose to depend on ucrt
for stdio.

```

## Parents

- [e2a8fe721dbf31a8edd06c8273bee8a8e69381f2](https://git.cafe/gitcafe/zig/commit/e2a8fe721dbf31a8edd06c8273bee8a8e69381f2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/7b3afc880b1ab018e6cec5f429de44a04088bacb?format=markdown)
