# mingw-w64 libc: fix incorrect detection of \_xgetbv · gitcafe/zig

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

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

Visibility: public

Requested revision: c161ce3f7c424274269bda0bf054a04540bc26cf

Requested commit: c161ce3f7c424274269bda0bf054a04540bc26cf

Commit: c161ce3f7c424274269bda0bf054a04540bc26cf

Tree: f77302907f884055b7d5bc21cc9ab7b077a3708c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
mingw-w64 libc: fix incorrect detection of _xgetbv

It was using __GNUC__ < 8 to check if _xgetbv intrinsic is available.
Since we always use zig cc with this header, we know we have clang 9,
which does have this intrinsic.

```

## Parents

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

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