From cfca8518f805502987c8d10d1442620f5c8f0b5d Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 28 Aug 2018 01:22:22 +0200 Subject: [PATCH] src: add `NODE_EXTERN` to class definition This should be part of public class definitions for Windows embedders who use a DLL interface for accessing Node. PR-URL: https://github.com/nodejs/node/pull/22559 Reviewed-By: Daniel Bevenius Reviewed-By: Colin Ihrig --- src/node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node.h b/src/node.h index bd26afa568633b..e3dd901718e8f5 100644 --- a/src/node.h +++ b/src/node.h @@ -232,7 +232,7 @@ NODE_EXTERN void FreeArrayBufferAllocator(ArrayBufferAllocator* allocator); class IsolateData; class Environment; -class MultiIsolatePlatform : public v8::Platform { +class NODE_EXTERN MultiIsolatePlatform : public v8::Platform { public: virtual ~MultiIsolatePlatform() { } // Returns true if work was dispatched or executed. New tasks that are