Browse Source

Implement system::getAbsolutePath() on Mac.

tags/v1.1.0
Andrew Belt 5 years ago
parent
commit
4a09492b3e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system.cpp

+ 1
- 1
src/system.cpp View File

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


Loading…
Cancel
Save