From 6249635fb86dcb4aaa2cc7fce29baeb004c2e807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Sun, 28 Feb 2021 23:09:50 +0100 Subject: [PATCH] Guard potentially unused const with proper defines --- src/openrct2/platform/Platform.Win32.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 {