Commit 6e9f33b
committed
Add UUID compiler extension check on Clang
Fixes #7248
Fix Clang Compilation on Linux without Microsoft Extensions enabled.
## Rationale
Clang support depends on the `-fms-extensions` compiler flag. ([1](https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions))
If enabled, the `_MSC_EXTENSIONS` macro is defined. ([2](https://github.com/llvm/llvm-project/blob/19a319667b567a26a20f9829a0ae7e6a5c259cba/clang/lib/Basic/Targets/OSTargets.cpp#L248)
---
For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/microsoft/DirectXShaderCompiler/issues/7248?shareId=XXXX-XXXX-XXXX-XXXX).1 parent 206b775 commit 6e9f33b
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments