瀏覽代碼

Fixed OS X compilation

stopiccot 12 年之前
父節點
當前提交
277eb13cb4
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/VCMIDirs.cpp

+ 1 - 1
lib/VCMIDirs.cpp

@@ -67,7 +67,7 @@ std::string VCMIDirs::localPath() const
 	if (getenv("HOME") != NULL )
 		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