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

Unified Diff: base/platform_file_posix.cc

Issue 10808037: Update #if guards in base/ that control whether to use stat or stat64 (and friends). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MACOSX < IOS Created 8 years, 5 months 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/file_util_posix.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/platform_file_posix.cc
diff --git a/base/platform_file_posix.cc b/base/platform_file_posix.cc
index e592da5544e7440f385cda0dd6c99490bef70073..112b6a126d0a2ba77064c1eba1f5149ae0e323ee 100644
--- a/base/platform_file_posix.cc
+++ b/base/platform_file_posix.cc
@@ -21,8 +21,7 @@
namespace base {
-#if defined(OS_BSD) || defined(OS_IOS) || (defined(OS_MACOSX) && \
- MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5)
+#if defined(OS_BSD) || defined(OS_MACOSX)
typedef struct stat stat_wrapper_t;
static int CallFstat(int fd, stat_wrapper_t *sb) {
base::ThreadRestrictions::AssertIOAllowed();
« no previous file with comments | « base/file_util_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698