Fix Windows build.

Take 2. Probably should have done this in the beginning, but thought I was
being clever.

Change-Id: I85c6e487eece9bcc75f8f62c850c2d4d1ee9e908
This commit is contained in:
Elliott Hughes 2015-02-05 08:21:37 -08:00
parent 6c3ff4fe7f
commit d79801d60d
1 changed files with 3 additions and 0 deletions

View File

@ -24,8 +24,11 @@ namespace android {
bool ReadFileToString(const std::string& path, std::string* content);
bool WriteStringToFile(const std::string& content, const std::string& path);
#if !defined(_WIN32)
bool WriteStringToFile(const std::string& content, const std::string& path,
mode_t mode, uid_t owner, gid_t group);
#endif
} // namespace android