30 lines
913 B
Diff
30 lines
913 B
Diff
From a818f5d1cc8146c0880efad675ddd48efe4174b6 Mon Sep 17 00:00:00 2001
|
|
From: Johannes Schindelin <johannes.schindelin@gmx.de>
|
|
Date: Sat, 14 Apr 2018 20:42:47 +0200
|
|
Subject: [PATCH 22/23] Disable MSVC_HACK
|
|
|
|
It only produces compile errors with GCC...
|
|
|
|
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
|
|
---
|
|
deps/v8/src/base/export-template.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/deps/v8/src/base/export-template.h b/deps/v8/src/base/export-template.h
|
|
index 861cfe40..b9812d06 100644
|
|
--- a/deps/v8/src/base/export-template.h
|
|
+++ b/deps/v8/src/base/export-template.h
|
|
@@ -153,7 +153,9 @@
|
|
|
|
EXPORT_TEMPLATE_TEST(DEFAULT, );
|
|
EXPORT_TEMPLATE_TEST(DEFAULT, __attribute__((visibility("default"))));
|
|
+#ifdef _MSC_VER
|
|
EXPORT_TEMPLATE_TEST(MSVC_HACK, __declspec(dllexport));
|
|
+#endif
|
|
EXPORT_TEMPLATE_TEST(DEFAULT, __declspec(dllimport));
|
|
|
|
#undef EXPORT_TEMPLATE_TEST
|
|
--
|
|
2.17.0.windows.1
|
|
|