emnapi 0.36.2 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,11 +2,9 @@
2
2
  #define EMNAPI_INCLUDE_COMMON_H_
3
3
 
4
4
  #ifdef __EMSCRIPTEN__
5
- #define NAPI_EXTERN __attribute__((visibility("default"))) \
6
- __attribute__((__import_module__("env")))
5
+ #define NAPI_EXTERN __attribute__((__import_module__("env")))
7
6
 
8
- #define EMNAPI_EXTERN __attribute__((visibility("default"))) \
9
- __attribute__((__import_module__("env")))
7
+ #define EMNAPI_EXTERN __attribute__((__import_module__("env")))
10
8
  #else
11
9
  #define NAPI_EXTERN __attribute__((__import_module__("napi")))
12
10