Skip to content

Commit d662c6a

Browse files
authored
Merge pull request #641 from movqword/main
fix compilation in vs2025
2 parents e4b7dc5 + 26cb183 commit d662c6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vmaware.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10906,9 +10906,9 @@ struct VM {
1090610906

1090710907
// ok so if the CPU is intel, the motherboard should be intel aswell (and same with AMD)
1090810908
// this doesnt happen in most public hardened configs out there so lets abuse it
10909-
constexpr unsigned int VID_INTEL = 0x8086;
10910-
constexpr unsigned int VID_AMD_ATI = 0x1002;
10911-
constexpr unsigned int VID_AMD_MICRO = 0x1022;
10909+
static constexpr unsigned int VID_INTEL = 0x8086;
10910+
static constexpr unsigned int VID_AMD_ATI = 0x1002;
10911+
static constexpr unsigned int VID_AMD_MICRO = 0x1022;
1091210912

1091310913
enum class MBVendor { Unknown = 0, Intel = 1, AMD = 2 };
1091410914

0 commit comments

Comments
 (0)