| Index: src/snapshot/natives.h
|
| diff --git a/src/snapshot/natives.h b/src/snapshot/natives.h
|
| index e44751537fab49b51d84507b3906279867205f8f..a9dc306a3d45b1a5fd0f43ab7e4bfa3d9610ea4f 100644
|
| --- a/src/snapshot/natives.h
|
| +++ b/src/snapshot/natives.h
|
| @@ -22,8 +22,15 @@ enum NativeType {
|
| TEST
|
| };
|
|
|
| +// Extra handling for V8_EXPORT_PRIVATE in combination with USING_V8_SHARED
|
| +// since definition of methods of classes marked as dllimport is not allowed.
|
| template <NativeType type>
|
| +#ifdef USING_V8_SHARED
|
| class NativesCollection {
|
| +#else
|
| +class V8_EXPORT_PRIVATE NativesCollection {
|
| +#endif // USING_V8_SHARED
|
| +
|
| public:
|
| // The following methods are implemented in js2c-generated code:
|
|
|
|
|