version_win32: fix warning for CURL_WINDOWS_APP
The build version is not supported by the UWP code. Closes https://github.com/curl/curl/pull/8385
This commit is contained in:
parent
60d076cee1
commit
9f1d29ecac
@ -76,6 +76,8 @@ bool curlx_verify_windows_version(const unsigned int majorVersion,
|
|||||||
bool matched = FALSE;
|
bool matched = FALSE;
|
||||||
|
|
||||||
#if defined(CURL_WINDOWS_APP)
|
#if defined(CURL_WINDOWS_APP)
|
||||||
|
(void)buildVersion;
|
||||||
|
|
||||||
/* We have no way to determine the Windows version from Windows apps,
|
/* We have no way to determine the Windows version from Windows apps,
|
||||||
so let's assume we're running on the target Windows version. */
|
so let's assume we're running on the target Windows version. */
|
||||||
const WORD fullVersion = MAKEWORD(minorVersion, majorVersion);
|
const WORD fullVersion = MAKEWORD(minorVersion, majorVersion);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user