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

Unified Diff: runtime/platform/globals.h

Issue 61633003: Fix large-file support for mac os x. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « runtime/bin/socket_macos.cc ('k') | runtime/platform/inttypes_support_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/globals.h
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h
index 2092d2dc319a290ae1d92122f8a7ab852bb5d04c..5fc7f006e78a46467ed00752dc5196b1d32b9a17 100644
--- a/runtime/platform/globals.h
+++ b/runtime/platform/globals.h
@@ -255,6 +255,11 @@ const uint64_t kMaxUint64 = DART_2PART_UINT64_C(0xFFFFFFFF, FFFFFFFF);
typedef intptr_t word;
typedef uintptr_t uword;
+#if defined(TARGET_OS_WINDOWS) || defined(TARGET_OS_MACOS)
+// off64_t is not defined on Windows or Mac OS.
+typedef int64_t off64_t;
+#endif
+
// Byte sizes.
const int kWordSize = sizeof(word);
const int kDoubleSize = sizeof(double); // NOLINT
« no previous file with comments | « runtime/bin/socket_macos.cc ('k') | runtime/platform/inttypes_support_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698