mirror of https://github.com/BOINC/boinc.git
wrapper: fix Win build (remove --version option)
This commit is contained in:
parent
2a1a55780a
commit
3bb3235a83
|
@ -273,8 +273,9 @@ int CScreensaver::terminate_v6_screensaver(GFXAPP_ID& graphics_application) {
|
|||
|
||||
|
||||
// Terminate the project (science) graphics application
|
||||
// TODO: get rid of 2nd arg
|
||||
//
|
||||
int CScreensaver::terminate_screensaver(GFXAPP_ID& graphics_application, RESULT *worker_app) {
|
||||
int CScreensaver::terminate_screensaver(GFXAPP_ID& graphics_application, RESULT *) {
|
||||
int retval = 0;
|
||||
|
||||
if (graphics_application) {
|
||||
|
|
|
@ -68,7 +68,9 @@
|
|||
#endif
|
||||
|
||||
#include "version.h"
|
||||
#ifndef _WIN32
|
||||
#include "svn_version.h"
|
||||
#endif
|
||||
#include "boinc_api.h"
|
||||
#include "app_ipc.h"
|
||||
#include "graphics2.h"
|
||||
|
@ -1154,9 +1156,11 @@ int main(int argc, char** argv) {
|
|||
gpu_device_num = atoi(argv[++j]);
|
||||
} else if (!strcmp(argv[j], "--trickle")) {
|
||||
trickle_period = atof(argv[++j]);
|
||||
#ifndef _WIN32
|
||||
} else if (!strcmp(argv[j], "--version") || !strcmp(argv[j], "-v")) {
|
||||
fprintf(stderr, "%s\n", SVN_VERSION);
|
||||
boinc_finish(0);
|
||||
#endif
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue