Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1075)

Unified Diff: base/file_util.h

Issue 796983002: Move file_util to be POSIX-only (Closed) Base URL: https://chromium.googlesource.com/chromium/mini_chromium@string-convert-cast
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/base.gyp ('k') | base/file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index 460a4f980bffdbb72ab8a23d8ea292701a0af6a1..62bab0afba856cc121d3af0cc3effd1585351f68 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -5,6 +5,10 @@
#ifndef MINI_CHROMIUM_BASE_FILE_UTIL_H_
#define MINI_CHROMIUM_BASE_FILE_UTIL_H_
+#include "build/build_config.h"
+
+#if defined(OS_POSIX)
+
#include <sys/types.h>
namespace base {
@@ -13,4 +17,6 @@ bool ReadFromFD(int fd, char* buffer, size_t bytes);
} // namespace base
+#endif // OS_POSIX
+
#endif // MINI_CHROMIUM_BASE_FILE_UTIL_H_
« no previous file with comments | « base/base.gyp ('k') | base/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698