mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-24 21:55:42 +00:00
Fix build on OSX
This commit is contained in:
parent
d485c11480
commit
c2689bb71c
2 changed files with 4 additions and 4 deletions
|
@ -773,6 +773,10 @@ std::vector<std::string> 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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue