refactor: replace macros with constexpr/consts (#4791)

This commit is contained in:
David Lane
2026-02-28 18:22:33 -05:00
committed by GitHub
parent 80103a5d91
commit 2b7af2119d
12 changed files with 74 additions and 76 deletions

View File

@@ -31,7 +31,7 @@ DEFINE_PROPERTYKEY(PKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80, 0
DEFINE_PROPERTYKEY(PKEY_DeviceInterface_FriendlyName, 0x026e516e, 0xb814, 0x414b, 0x83, 0xcd, 0x85, 0x6d, 0x6f, 0xef, 0x48, 0x22, 2);
#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64) || defined(__amd64__) || defined(_M_AMD64)
#define STEAM_DRIVER_SUBDIR L"x64"
constexpr auto STEAM_DRIVER_SUBDIR = L"x64";
#endif
namespace {