d56617e5d0
* chore: avoid appending git version to the exported patches * fix no-eol at end of v8 patch
28 lines
898 B
Diff
28 lines
898 B
Diff
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
|
|
|
|
diff --git a/include/v8-platform.h b/include/v8-platform.h
|
|
index cfeb13b65829f9e0bad2518b8c4b03a645b6223c..2b38e24e233b5ba7061fd4a3d5e49063b0165f11 100644
|
|
--- 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 {
|
|
@@ -387,7 +388,7 @@ class Platform {
|
|
* since epoch. Useful for implementing |CurrentClockTimeMillis| if
|
|
* nothing special needed.
|
|
*/
|
|
- static double SystemClockTimeMillis();
|
|
+ V8_EXPORT static double SystemClockTimeMillis();
|
|
};
|
|
|
|
} // namespace v8
|