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

Unified Diff: base/file_util_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 | « no previous file | base/platform_file_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util_posix.cc
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 56dc8501521294ae2e5c4961bad39cb6f40222fc..f198f44f068e65f908ffb5c8719eb142613a29f1 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -58,8 +58,7 @@ namespace file_util {
namespace {
-#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 CallStat(const char *path, stat_wrapper_t *sb) {
base::ThreadRestrictions::AssertIOAllowed();
« no previous file with comments | « no previous file | base/platform_file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698