diff --git a/src/system.cpp b/src/system.cpp index 02eab1e0..a5bbae60 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -108,7 +108,7 @@ void createDirectory(const std::string &path) { std::string getAbsolutePath(const std::string &path) { -#if defined ARCH_LIN +#if defined ARCH_LIN || defined ARCH_MAC char buf[PATH_MAX]; char *pathC = realpath(path.c_str(), buf); if (pathC)