소스 검색

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