mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
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;
|
||||
|
||||
#if defined(CURL_WINDOWS_APP)
|
||||
(void)buildVersion;
|
||||
|
||||
/* We have no way to determine the Windows version from Windows apps,
|
||||
so let's assume we're running on the target Windows version. */
|
||||
const WORD fullVersion = MAKEWORD(minorVersion, majorVersion);
|
||||
|
Loading…
Reference in New Issue
Block a user