fix: export napi symbols (#77)
matches the change in node.h in 88b494191c
, both are necessary because Chromium builds with symbols hidden by default
This commit is contained in:
Родитель
3bcbfdff69
Коммит
3349ef049f
|
@ -31,7 +31,7 @@ struct uv_loop_s; // Forward declaration.
|
||||||
#define NAPI_EXTERN __declspec(dllexport)
|
#define NAPI_EXTERN __declspec(dllexport)
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#define NAPI_EXTERN /* nothing */
|
#define NAPI_EXTERN __attribute__((visibility("default")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Загрузка…
Ссылка в новой задаче