2018-10-24 18:24:11 +00:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Aleksei Kuzmin <alkuzmin@microsoft.com>
|
|
|
|
Date: Mon, 22 Oct 2018 10:47:12 -0700
|
|
|
|
Subject: export_platform.patch
|
|
|
|
|
|
|
|
v8::Platform::SystemClockTimeMillis must be exported so that node::NodePlatform can call it
|
|
|
|
|
2018-09-14 05:02:16 +00:00
|
|
|
diff --git a/include/v8-platform.h b/include/v8-platform.h
|
2019-01-09 00:53:35 +00:00
|
|
|
index b9b0363a426de898c7db29a341f7179c45706f0a..48fba7921fd17eec79c569ab3c9173f084743218 100644
|
2018-09-14 05:02:16 +00:00
|
|
|
--- a/include/v8-platform.h
|
|
|
|
+++ b/include/v8-platform.h
|
|
|
|
@@ -11,6 +11,7 @@
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
+#include "v8.h"
|
|
|
|
#include "v8config.h" // NOLINT(build/include)
|
|
|
|
|
|
|
|
namespace v8 {
|
2019-01-09 00:53:35 +00:00
|
|
|
@@ -421,7 +422,7 @@ class Platform {
|
2018-09-14 05:02:16 +00:00
|
|
|
* since epoch. Useful for implementing |CurrentClockTimeMillis| if
|
|
|
|
* nothing special needed.
|
|
|
|
*/
|
|
|
|
- static double SystemClockTimeMillis();
|
|
|
|
+ V8_EXPORT static double SystemClockTimeMillis();
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace v8
|