Commit 2f4e290
fix: include windows.h for the arm64 Windows cpu_supports branch
The _M_ARM64 path calls IsProcessorFeaturePresent with PF_ARM_* constants, but
nothing in this TU's include graph pulls windows.h in — include/daScript/ does
not include it anywhere — so an arm64 Windows build would not compile. CI has
no windows-arm64 lane, so this would have shipped latent.
Guarded to arm64 + _WIN32, with NOMINMAX and WIN32_LEAN_AND_MEAN, so no lane CI
actually builds sees any change. Caught by Copilot on #3583.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent e4c1ff2 commit 2f4e290
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
| |||
0 commit comments