diff --git a/public/client/TracyProfiler.cpp b/public/client/TracyProfiler.cpp index 475864a3..2551201d 100644 --- a/public/client/TracyProfiler.cpp +++ b/public/client/TracyProfiler.cpp @@ -524,7 +524,7 @@ static const char* GetHostInfo() auto ptr = buf; #if defined _WIN32 # if defined TRACY_WIN32_NO_DESKTOP - auto GetVersion = &::GetVersionEx; + auto GetVersion = &::GetVersionExW; # else auto GetVersion = (t_RtlGetVersion)GetProcAddress( GetModuleHandleA( "ntdll.dll" ), "RtlGetVersion" ); # endif