1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 16:25:01 +03:00

Divide version in multiple macros and set default values

This commit is contained in:
Davide Beatrici
2018-08-27 05:35:11 +02:00
parent 7f9177f3d7
commit c21f427fc6
19 changed files with 268 additions and 222 deletions

View File

@ -1961,7 +1961,7 @@ HINSTANCE InstallPcdDriverInternal()
if (IsFileExists(tmp))
{
// If driver file is exist, try to get build number from registry
if (LoadPcdDriverBuild() >= CEDAR_BUILD)
if (LoadPcdDriverBuild() >= CEDAR_VERSION_BUILD)
{
// Already latest driver is installed
install_driver = false;
@ -1990,7 +1990,7 @@ HINSTANCE InstallPcdDriverInternal()
}
// Save build number
SavePcdDriverBuild(CEDAR_BUILD);
SavePcdDriverBuild(CEDAR_VERSION_BUILD);
}
dll_filename = BRIDGE_WIN32_PCD_DLL;