Index: runtime/platform/globals.h |
diff --git a/runtime/platform/globals.h b/runtime/platform/globals.h |
index e302f1cac5e8f6dbe7248207342b69605c5459e8..6001a2fd43121dfa9d761784802e1a8690bd3fca 100644 |
--- a/runtime/platform/globals.h |
+++ b/runtime/platform/globals.h |
@@ -246,6 +246,10 @@ typedef double fpu_register_t; |
#define DART_UINT64_C(x) x##ULL |
#endif |
+// Replace calls to strtoll with _strtoi64 on Windows. |
+#ifdef _MSC_VER |
+#define strtoll _strtoi64 |
+#endif |
// The following macro works on both 32 and 64-bit platforms. |
// Usage: instead of writing 0x1234567890123456ULL |