dchapyshev / aspia

Remote desktop and file transfer tool.
https://aspia.org
GNU General Public License v3.0
1.59k stars 338 forks source link

Build the source code in the master version,found bug #185

Open 124327288 opened 1 year ago

124327288 commented 1 year ago

1、router/service.h code: void onSessionEvent(base::win::SessionStatus event, base::SessionId session_id) override; void onPowerEvent(uint32_t event) override;

should be change to

if defined(OS_WIN)

void onSessionEvent(base::win::SessionStatus event, base::SessionId session_id) override;
void onPowerEvent(uint32_t event) override;

endif // defined(OS_WIN)

2、router/service.cc, relay/service.h, relay/service.cc

the problem same as router/service.h