Skip to content

Commit 96b668e

Browse files
author
Requiem
committed
fixed linux compilation
1 parent 2df8526 commit 96b668e

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/vmaware.hpp

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9472,17 +9472,16 @@ struct VM {
94729472
[[nodiscard]] static bool native_vhd() {
94739473
#if (!WINDOWS)
94749474
return false;
9475-
#endif
9476-
#if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
9477-
return false;
94789475
#else
9479-
BOOL isNativeVhdBoot = 0;
9480-
9481-
if (IsNativeVhdBoot(&isNativeVhdBoot)) {
9482-
return isNativeVhdBoot == 1;
9483-
}
9484-
9485-
return false;
9476+
#if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
9477+
return false;
9478+
#else
9479+
BOOL isNativeVhdBoot = 0;
9480+
if (IsNativeVhdBoot(&isNativeVhdBoot)) {
9481+
return (isNativeVhdBoot == TRUE);
9482+
}
9483+
return false;
9484+
#endif
94869485
#endif
94879486
}
94889487

0 commit comments

Comments
 (0)