We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2df8526 commit 96b668eCopy full SHA for 96b668e
src/vmaware.hpp
@@ -9472,17 +9472,16 @@ struct VM {
9472
[[nodiscard]] static bool native_vhd() {
9473
#if (!WINDOWS)
9474
return false;
9475
-#endif
9476
-#if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
9477
- return false;
9478
#else
9479
- BOOL isNativeVhdBoot = 0;
9480
-
9481
- if (IsNativeVhdBoot(&isNativeVhdBoot)) {
9482
- return isNativeVhdBoot == 1;
9483
- }
9484
9485
+ #if (_WIN32_WINNT < _WIN32_WINNT_WIN8)
+ return false;
+ #else
+ BOOL isNativeVhdBoot = 0;
+ if (IsNativeVhdBoot(&isNativeVhdBoot)) {
+ return (isNativeVhdBoot == TRUE);
+ }
+ #endif
9486
#endif
9487
}
9488
0 commit comments