mirror of https://github.com/kiwix/libkiwix.git
Fixed compilation on OSX [broken long ago by attempting to support OSX10.5]
This commit is contained in:
parent
8fcd9583c4
commit
ea3f698d6f
|
@ -180,7 +180,7 @@ string getExecutablePath() {
|
|||
|
||||
bool writeTextFile(const string &path, const string &content) {
|
||||
std::ofstream file;
|
||||
file.open(path);
|
||||
file.open(path.c_str());
|
||||
file << content;
|
||||
file.close();
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue