mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-02-10 18:05:16 +08:00
[win-linux] updatesvc: small refactoring
This commit is contained in:
@ -44,8 +44,8 @@
|
||||
|
||||
#define DECL_VERSION __attribute__((section(".version_info"), unused))
|
||||
|
||||
volatile static const char DECL_VERSION version[] = VER_STRING;
|
||||
static const char gSvcVersion[] = "Service version: " VER_STRING;
|
||||
volatile static const char DECL_VERSION version[] = VER_FILEVERSION_STR;
|
||||
static const char gSvcVersion[] = "Service version: " VER_FILEVERSION_STR;
|
||||
|
||||
void strToNum(const char *str, int &num)
|
||||
{
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
SERVICE_STATUS gSvcStatus;
|
||||
SERVICE_STATUS_HANDLE gSvcStatusHandle;
|
||||
HANDLE gSvcStopEvent = NULL;
|
||||
static const WCHAR gSvcVersion[] = _T("Service version: " VER_STRING);
|
||||
static const WCHAR gSvcVersion[] = _T("Service version: " VER_FILEVERSION_STR);
|
||||
|
||||
|
||||
VOID WINAPI SvcMain(DWORD argc, LPTSTR *argv);
|
||||
|
||||
Reference in New Issue
Block a user