We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
visibility("default")
1 parent cc4ae20 commit 2e80b91Copy full SHA for 2e80b91
src/js_native_api.h
@@ -22,7 +22,7 @@
22
#ifdef _WIN32
23
#define NAPI_EXTERN __declspec(dllexport)
24
#else
25
- #define NAPI_EXTERN /* nothing */
+ #define NAPI_EXTERN __attribute__((visibility("default")))
26
#endif
27
28
src/node.h
@@ -29,7 +29,7 @@
29
# define NODE_EXTERN __declspec(dllimport)
30
# endif
31
32
-# define NODE_EXTERN /* nothing */
+# define NODE_EXTERN __attribute__((visibility("default")))
33
34
35
#ifdef BUILDING_NODE_EXTENSION
0 commit comments