| commit | 8b2c7826b8d68e2ffc79c286b8792efe4168f666 | [log] [tgz] |
|---|---|---|
| author | Martin Storsjö <martin@martin.st> | Thu Jan 17 09:54:54 2019 +0200 |
| committer | Martin Storsjö <martin@martin.st> | Thu Jan 17 13:04:13 2019 +0200 |
| tree | d0c070d8e068d10b8afe1d303dcd07ffb58efb7a | |
| parent | af64e12455be980ef97fc6bf8942a4d6399b9184 [diff] |
headers: Avoid builtin clash with _xgetbv in Clang 9 Clang 9 adds _xgetbv for non-msvc targets, by adding a builtin named __builtin_ia32_xgetbv and a define in a header redirecting _xgetbv to __builtin_ia32_xgetbv. The define redirection breaks the intrin-impl.h code already on the prototype. Signed-off-by: Martin Storsjö <martin@martin.st>