From 8f7f56f1eae2998b9431e07a3ed0ea7765eb19ba Mon Sep 17 00:00:00 2001 From: Didier 'OdyX' Raboud Date: Wed, 30 Oct 2013 17:27:05 +0100 Subject: On Mac OS X, write colobot.ini and savegames to Application Support directories --- src/app/system.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/app/system.cpp') diff --git a/src/app/system.cpp b/src/app/system.cpp index 2eb68ba..ce69469 100644 --- a/src/app/system.cpp +++ b/src/app/system.cpp @@ -25,6 +25,8 @@ #include "app/system_windows.h" #elif defined(PLATFORM_LINUX) #include "app/system_linux.h" +#elif defined(PLATFORM_MACOSX) + #include "app/system_macosx.h" #else #include "app/system_other.h" #endif @@ -48,6 +50,8 @@ CSystemUtils* CSystemUtils::Create() m_instance = new CSystemUtilsWindows(); #elif defined(PLATFORM_LINUX) m_instance = new CSystemUtilsLinux(); +#elif defined(PLATFORM_MACOSX) + m_instance = new CSystemUtilsMacOSX(); #else m_instance = new CSystemUtilsOther(); #endif -- cgit v1.2.3-1-g7c22