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

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..7466f99fedbfd05c736e954b10c0d870e4ae500b 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.
Søren Gjesse 2013/11/19 12:17:06 nit: windows or mac -> Windows or Mac OS
Anders Johnsen 2013/11/19 12:17:44 Done.
+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