From dec5e465f97bc56b24a89262686ba50043ac2000 Mon Sep 17 00:00:00 2001 From: "hausner@google.com" Date: Thu, 10 May 2012 22:32:39 +0000 Subject: [PATCH] Attempt 2 to fix build Review URL: https://chromiumcodereview.appspot.com//10310109 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7522 260f80e4-7a28-3924-810f-c04153c831b5 --- runtime/platform/json.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/platform/json.cc b/runtime/platform/json.cc index f0fbf999753..eaf13bac923 100644 --- a/runtime/platform/json.cc +++ b/runtime/platform/json.cc @@ -11,6 +11,10 @@ namespace dart { +#ifndef va_copy +#define va_copy(dst, src) (memmove(&(dst), &(src), sizeof(dst))) +#endif /* va_copy */ + JSONScanner::JSONScanner(const char* json_text) { SetText(json_text);