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);