summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-05 18:51:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-05 18:51:07 +0000
commitdcbeb41a673e3fa6eb8344e9c806cb8a5f7eeff5 (patch)
treefd62f41192b344b217cab4f1e0ac61ef2dd7b428
parent984e01e54ebaab5d413b80661e1311be2c15b464 (diff)
parentd558530ba90cb6218fe8e255c71a034c3fe1ea58 (diff)
downloadsystem_core-dcbeb41a673e3fa6eb8344e9c806cb8a5f7eeff5.zip
system_core-dcbeb41a673e3fa6eb8344e9c806cb8a5f7eeff5.tar.gz
system_core-dcbeb41a673e3fa6eb8344e9c806cb8a5f7eeff5.tar.bz2
am d558530b: Merge "Fix Windows build."
* commit 'd558530ba90cb6218fe8e255c71a034c3fe1ea58': Fix Windows build.
-rw-r--r--include/utils/file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/utils/file.h b/include/utils/file.h
index d6b7057..8685ee2 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