mirror of https://github.com/BOINC/boinc.git
compile fixes for Unix
svn path=/trunk/boinc/; revision=7200
This commit is contained in:
parent
7b0c46f90c
commit
295b3a1d3f
|
@ -17,6 +17,7 @@ EXTRA_PROGRAMS = cpu_benchmark
|
|||
|
||||
boinc_client_SOURCES = \
|
||||
acct_mgr.C \
|
||||
acct_setup.C \
|
||||
app.C \
|
||||
app_control.C \
|
||||
app_graphics.C \
|
||||
|
@ -39,6 +40,7 @@ boinc_client_SOURCES = \
|
|||
dhrystone2.C \
|
||||
file_names.C \
|
||||
file_xfer.C \
|
||||
gui_http.C \
|
||||
gui_rpc_server.C \
|
||||
gui_rpc_server_ops.C \
|
||||
hostinfo_network.C \
|
||||
|
|
|
@ -61,4 +61,4 @@ struct CREATE_ACCOUNT_OP: public GUI_HTTP_OP {
|
|||
CREATE_ACCOUNT_OP(){in_progress = false;}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -32,6 +32,8 @@ using std::string;
|
|||
//
|
||||
struct GUI_HTTP_OP {
|
||||
virtual void handle_reply(int http_op_retval) {}
|
||||
GUI_HTTP_OP(){}
|
||||
~GUI_HTTP_OP(){}
|
||||
};
|
||||
|
||||
#define GUI_HTTP_STATE_IDLE 0
|
||||
|
@ -49,4 +51,4 @@ struct GUI_HTTP {
|
|||
bool poll();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -521,7 +521,7 @@ static void handle_get_project_config_poll(char*, MIOFILE& fout) {
|
|||
if (gstate.get_project_config_op.in_progress) {
|
||||
fout.printf("<in_progress/>");
|
||||
} else {
|
||||
fout.printf("%s", gstate.get_project_config_op.reply);
|
||||
fout.printf("%s", gstate.get_project_config_op.reply.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -535,7 +535,7 @@ static void handle_lookup_account_poll(char*, MIOFILE& fout) {
|
|||
if (gstate.lookup_account_op.in_progress) {
|
||||
fout.printf("<in_progress/>");
|
||||
} else {
|
||||
fout.printf("%s", gstate.lookup_account_op.reply);
|
||||
fout.printf("%s", gstate.lookup_account_op.reply.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -549,7 +549,7 @@ static void handle_create_account_poll(char*, MIOFILE& fout) {
|
|||
if (gstate.create_account_op.in_progress) {
|
||||
fout.printf("<in_progress/>");
|
||||
} else {
|
||||
fout.printf("%s", gstate.create_account_op.reply);
|
||||
fout.printf("%s", gstate.create_account_op.reply.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -701,4 +701,4 @@ int GUI_RPC_CONN::handle_rpc() {
|
|||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue