diff --git a/include/utils/file.h b/include/utils/file.h index d6b705783..8685ee287 100644 --- a/include/utils/file.h +++ b/include/utils/file.h @@ -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