- API: compile fix

svn path=/trunk/boinc/; revision=21801
This commit is contained in:
David Anderson 2010-06-24 05:11:34 +00:00
parent d243316f0f
commit 60c296338c
2 changed files with 7 additions and 1 deletions

View File

@ -500,6 +500,7 @@ int boinc_temporary_exit(int delay) {
// //
void boinc_exit(int status) { void boinc_exit(int status) {
int retval; int retval;
char buf[256];
if (options.backwards_compatible_graphics) { if (options.backwards_compatible_graphics) {
graphics_cleanup(); graphics_cleanup();
@ -509,7 +510,6 @@ void boinc_exit(int status) {
retval = file_lock.unlock(LOCKFILE); retval = file_lock.unlock(LOCKFILE);
if (retval) { if (retval) {
#ifdef _WIN32 #ifdef _WIN32
char buf[256];
windows_error_string(buf, 256); windows_error_string(buf, 256);
fprintf(stderr, fprintf(stderr,
"%s Can't unlock lockfile (%d): %s\n", "%s Can't unlock lockfile (%d): %s\n",

View File

@ -4528,3 +4528,9 @@ Charlie 23 Jun 2010
mac_build/ mac_build/
boinc.xcodeproj/ boinc.xcodeproj/
project.pbxproj project.pbxproj
David 23 Jun 2010
- API: compile fix
api/
boinc_api.cpp