From 4a8d57ec9596bf70d936cfcc48d8d520c614772a Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 23 Feb 2012 00:37:30 +0000 Subject: [PATCH] API: fix compile error on Mac svn path=/trunk/boinc/; revision=25318 --- api/macglutfix.m | 5 ++++- checkin_notes | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/api/macglutfix.m b/api/macglutfix.m index 1952dfe6c1..69d4ba5ef5 100644 --- a/api/macglutfix.m +++ b/api/macglutfix.m @@ -23,7 +23,10 @@ #include -#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 BringAppToFront(void); diff --git a/checkin_notes b/checkin_notes index b904558b72..134934c40b 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2081,3 +2081,9 @@ David 22 Feb 2012 client/ hostinfo_unix.cpp + +Charlie 22 Feb 2012 + - API: fix compile error on Mac. + + api/ + macglutfix.m