Index: runtime/platform/inttypes_support_win.h |
diff --git a/runtime/platform/inttypes_support_win.h b/runtime/platform/inttypes_support_win.h |
index 34d83a45a0e088c084e0b96457deb9c6385776d2..773a71e36ab6f04fb5340b01ba2b503f6b7a09d9 100644 |
--- a/runtime/platform/inttypes_support_win.h |
+++ b/runtime/platform/inttypes_support_win.h |
@@ -14,6 +14,9 @@ typedef unsigned __int16 uint16_t; |
typedef unsigned __int32 uint32_t; |
typedef unsigned __int64 uint64_t; |
+// off64_t is not defined on windows. |
+typedef int64_t off64_t; |
+ |
// Printf format specifiers for intptr_t and uintptr_t. |
#define PRIdPTR "Id" |
#define PRIuPTR "Iu" |