# zig ar: workaround for LLVM bug · gitcafe/zig

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

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

Visibility: public

Requested revision: e078b4f20ea0656c02f957520c182735c60593de

Requested commit: e078b4f20ea0656c02f957520c182735c60593de

Commit: e078b4f20ea0656c02f957520c182735c60593de

Tree: b14fedec819120cf06f5ea6255b0b194e32812e1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig ar: workaround for LLVM bug

In this file is copy+pasted WindowsSupport.h from LLVM 12.0.1-rc1.
This is so that we can patch it. The upstream sources are incorrectly
including "llvm/Config/config.h" which is a private header and thus not
available in the include files distributed with LLVM.
The patch here changes it to include "llvm/Config/config.h" instead.
Patch submitted upstream: https://reviews.llvm.org/D103370

```

## Parents

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

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