Commit 25d6090
Luca Sonntag
Fix ARM64 build error C3861: '_CountOneBits64' not found in winnt.h
The AppVeyor 'Visual Studio 2019' image update introduced Windows SDK 10.0.26100.0, which contains a bug in winnt.h where _CountOneBits64 is called without the required intrinsics being defined for the ARM64 v142 toolchain.
Including <intrin.h> in the precompiled headers (Stdafx.h) ensures the necessary intrinsic definitions are available during compilation.1 parent 703a925 commit 25d6090
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
0 commit comments