We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f72f20 commit 940f2f1Copy full SHA for 940f2f1
src/mpt/osinfo/windows_wine_version.hpp
@@ -31,6 +31,9 @@ namespace windows {
31
inline bool current_is_wine() {
32
bool result = false;
33
#if MPT_OS_WINDOWS && !MPT_OS_WINDOWS_WINRT
34
+#if MPT_WINNT_AT_LEAST(MPT_WIN_8)
35
+ const bool hasKB2533623 = true;
36
+#else // !Win8
37
bool hasKB2533623 = false;
38
mpt::osinfo::windows::Version WindowsVersion = mpt::osinfo::windows::Version::Current();
39
if (WindowsVersion.IsAtLeast(mpt::osinfo::windows::Version::Win8)) {
@@ -45,6 +48,7 @@ inline bool current_is_wine() {
45
48
hKernel32DLL = NULL;
46
49
}
47
50
51
+#endif // Win8
52
HMODULE hNTDLL = NULL;
53
MPT_MAYBE_CONSTANT_IF (hasKB2533623) {
54
#if defined(LOAD_LIBRARY_SEARCH_SYSTEM32)
0 commit comments