API: fix compile error on Mac

svn path=/trunk/boinc/; revision=25318
This commit is contained in:
Charlie Fenton 2012-02-23 00:37:30 +00:00
parent dd6779a7be
commit 4a8d57ec95
2 changed files with 10 additions and 1 deletions

View File

@ -23,7 +23,10 @@
#include <Cocoa/Cocoa.h> #include <Cocoa/Cocoa.h>
#include "boinc_api.h" // For unknown reason, "boinc_api.h" gets a compile
// error here so just declare boinc_is_standalone()
//#include "boinc_api.h"
extern int boinc_is_standalone(void);
void MacGLUTFix(bool isScreenSaver); void MacGLUTFix(bool isScreenSaver);
void BringAppToFront(void); void BringAppToFront(void);

View File

@ -2081,3 +2081,9 @@ David 22 Feb 2012
client/ client/
hostinfo_unix.cpp hostinfo_unix.cpp
Charlie 22 Feb 2012
- API: fix compile error on Mac.
api/
macglutfix.m