mirror of https://github.com/BOINC/boinc.git
client emulator: build fixes
This commit is contained in:
parent
5c9e012d5b
commit
2882ca2c94
|
@ -1018,6 +1018,7 @@ void ACTIVE_TASK::set_task_state(int val, const char* where) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef SIM
|
||||
#ifdef NEW_CPU_THROTTLE
|
||||
#define THROTTLE_PERIOD 1.
|
||||
#ifdef _WIN32
|
||||
|
@ -1054,3 +1055,4 @@ void* throttler(void*) {
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -70,10 +70,12 @@ using std::max;
|
|||
CLIENT_STATE gstate;
|
||||
COPROCS coprocs;
|
||||
|
||||
#ifndef SIM
|
||||
#ifdef NEW_CPU_THROTTLE
|
||||
THREAD_LOCK client_mutex;
|
||||
THREAD throttle_thread;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
CLIENT_STATE::CLIENT_STATE()
|
||||
: lookup_website_op(&gui_http),
|
||||
|
|
|
@ -60,6 +60,7 @@ OBJS = \
|
|||
../lib/msg_log.o \
|
||||
../lib/network.o \
|
||||
../lib/notice.o \
|
||||
../lib/opencl_boinc.o \
|
||||
../lib/parse.o \
|
||||
../lib/prefs.o \
|
||||
../lib/proxy_info.o \
|
||||
|
|
|
@ -101,7 +101,6 @@ void show_message(PROJ_AM *p, char* msg, int priority, bool, const char*) {
|
|||
}
|
||||
|
||||
APP_CLIENT_SHM::APP_CLIENT_SHM() {}
|
||||
GRAPHICS_MSG::GRAPHICS_MSG() {}
|
||||
int FILE_INFO::verify_file(bool, bool, bool) {return 0;}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue