client emulator: build fixes

This commit is contained in:
David Anderson 2013-12-10 10:04:04 -08:00
parent 5c9e012d5b
commit 2882ca2c94
4 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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),

View File

@ -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 \

View File

@ -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;}