Explorar o código

Fixed OS X compilation

stopiccot %!s(int64=12) %!d(string=hai) anos
pai
achega
277eb13cb4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/VCMIDirs.cpp

+ 1 - 1
lib/VCMIDirs.cpp

@@ -67,7 +67,7 @@ std::string VCMIDirs::localPath() const
 	if (getenv("HOME") != NULL )
 	if (getenv("HOME") != NULL )
 		home_dir = getenv("HOME");
 		home_dir = getenv("HOME");
 
 
-	return path(home_dir + "/Library/Application Support/vcmi").string();
+	return boost::filesystem::path(home_dir + "/Library/Application Support/vcmi").string();
 }
 }
 
 
 std::string VCMIDirs::libraryPath() const
 std::string VCMIDirs::libraryPath() const