From c2689bb71cd141d3a2341ba5770a92caec910d59 Mon Sep 17 00:00:00 2001 From: fgenesis Date: Wed, 26 Jun 2013 15:15:19 +0200 Subject: [PATCH] Fix build on OSX --- BBGE/Base.cpp | 4 ++++ BBGE/Core.cpp | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/BBGE/Base.cpp b/BBGE/Base.cpp index b996122..6fd26d3 100644 --- a/BBGE/Base.cpp +++ b/BBGE/Base.cpp @@ -773,6 +773,10 @@ std::vector getFileList(std::string path, std::string type, int par return list; } +#if defined(BBGE_BUILD_MACOSX) +void cocoaMessageBox(const std::string &title, const std::string &msg); +#endif + void messageBox(const std::string& title, const std::string &msg) { #ifdef BBGE_BUILD_WINDOWS diff --git a/BBGE/Core.cpp b/BBGE/Core.cpp index f514807..1774824 100644 --- a/BBGE/Core.cpp +++ b/BBGE/Core.cpp @@ -822,10 +822,6 @@ void Core::errorLog(const std::string &s) debugLog(s); } -#if defined(BBGE_BUILD_MACOSX) -void cocoaMessageBox(const std::string &title, const std::string &msg); -#endif - void Core::messageBox(const std::string &title, const std::string &msg) { ::messageBox(title, msg);