diff --git a/src/openrct2/platform/Platform.Win32.cpp b/src/openrct2/platform/Platform.Win32.cpp index a2e0e82e0f..08e029887e 100644 --- a/src/openrct2/platform/Platform.Win32.cpp +++ b/src/openrct2/platform/Platform.Win32.cpp @@ -42,7 +42,9 @@ # define swprintf_s(a, b, c, d, ...) swprintf(a, b, c, ##__VA_ARGS__) # endif +# if _WIN32_WINNT >= 0x0600 constexpr wchar_t SOFTWARE_CLASSES[] = L"Software\\Classes"; +# endif namespace Platform {