Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
fix: export napi symbols (#77)
Browse files Browse the repository at this point in the history
matches the change in node.h in 88b4941, both are necessary because Chromium builds with symbols hidden by default
  • Loading branch information
nornagon committed Oct 16, 2018
1 parent 9ef1eae commit 39bb2e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct uv_loop_s; // Forward declaration.
#define NAPI_EXTERN __declspec(dllexport)
#endif
#else
#define NAPI_EXTERN /* nothing */
#define NAPI_EXTERN __attribute__((visibility("default")))
#endif

#ifdef _WIN32
Expand Down

0 comments on commit 39bb2e0

Please sign in to comment.