18 lines
439 B
Diff
18 lines
439 B
Diff
diff --git a/src/base/platform/time.cc b/src/base/platform/time.cc
|
|
index b6da0a6..34e7e38 100644
|
|
--- a/src/base/platform/time.cc
|
|
+++ b/src/base/platform/time.cc
|
|
@@ -876,6 +876,12 @@ void ThreadTicks::WaitUntilInitializedWin() {
|
|
#endif
|
|
}
|
|
|
|
+#ifdef __MINGW64_VERSION_MAJOR
|
|
+extern "C" {
|
|
+ extern unsigned __int64 __rdtsc(void);
|
|
+}
|
|
+#endif
|
|
+
|
|
#ifndef V8_HOST_ARCH_ARM64
|
|
double ThreadTicks::TSCTicksPerSecond() {
|
|
DCHECK(IsSupported());
|