Skip to content

Commit

Permalink
Extern symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
paddybyers committed Dec 14, 2011
1 parent 065d5f9 commit 2721ba1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion deps/uv/include/uv.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ extern "C" {
# endif
#else
/* Unix. TODO: symbol hiding */
# define UV_EXTERN /* nothing */
# if defined(BUILDING_UV_SHARED)
/* Building shared library. Export everything from c-ares as well. */
# define UV_EXTERN __attribute__((visibility("default")))
# define CARES_BUILDING_LIBRARY 1
# else
# define UV_EXTERN /* nothing */
# endif
#endif


Expand Down
2 changes: 1 addition & 1 deletion src/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class Isolate {
void __FatalException(v8::TryCatch &try_catch);
void __SetErrno(uv_err_t err);
v8::Persistent<v8::Object> local_env;
uv_loop_t *Loop();
NODE_EXTERN uv_loop_t *Loop();
ext_statics statics_;
int exit_status;
int term_signal;
Expand Down

0 comments on commit 2721ba1

Please sign in to comment.