am d558530b: Merge "Fix Windows build."
* commit 'd558530ba90cb6218fe8e255c71a034c3fe1ea58': Fix Windows build.
This commit is contained in:
commit
dcbeb41a67
1 changed files with 3 additions and 0 deletions
|
|
@ -24,8 +24,11 @@ namespace android {
|
||||||
|
|
||||||
bool ReadFileToString(const std::string& path, std::string* content);
|
bool ReadFileToString(const std::string& path, std::string* content);
|
||||||
bool WriteStringToFile(const std::string& content, const std::string& path);
|
bool WriteStringToFile(const std::string& content, const std::string& path);
|
||||||
|
|
||||||
|
#if !defined(_WIN32)
|
||||||
bool WriteStringToFile(const std::string& content, const std::string& path,
|
bool WriteStringToFile(const std::string& content, const std::string& path,
|
||||||
mode_t mode, uid_t owner, gid_t group);
|
mode_t mode, uid_t owner, gid_t group);
|
||||||
|
#endif
|
||||||
|
|
||||||
} // namespace android
|
} // namespace android
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue