Fix errors building on MS Windows found by Appveyor

This commit is contained in:
Charlie Fenton 2019-11-09 01:50:45 -08:00
parent b1987ef43d
commit 2acb9b7af2
2 changed files with 3 additions and 2 deletions

View File

@ -326,10 +326,11 @@ int CScreensaver::launch_screensaver(RESULT* rp, GFXAPP_ID& graphics_application
//
int CScreensaver::terminate_v6_screensaver(GFXAPP_ID& graphics_application, RESULT* rp) {
int retval = 0;
pid_t thePID;
int i;
#ifdef __APPLE__
pid_t thePID;
if (gUseLaunchAgent) {
// As of OS 10.15 (Catalina) screensavers can no longer launch apps
// that run setuid or setgid. So instead of killing graphics apps

View File

@ -167,7 +167,7 @@ protected:
DWORD WINAPI DataManagementProc();
static DWORD WINAPI DataManagementProcStub( LPVOID lpParam );
int terminate_v6_screensaver(HANDLE& graphics_application);
int terminate_v6_screensaver(HANDLE& graphics_application, RESULT* rp);
int terminate_screensaver(HANDLE& graphics_application, RESULT *worker_app);
int terminate_default_screensaver(HANDLE& graphics_application);
int launch_screensaver(RESULT* rp, HANDLE& graphics_application);