Merge "Fix Windows build."
This commit is contained in:
commit
d558530ba9
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