Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d79801d6 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Fix Windows build.

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

Change-Id: I85c6e487eece9bcc75f8f62c850c2d4d1ee9e908
parent 6c3ff4fe
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -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