Skip to content

Commit

Permalink
Fix visibility of jl_n_threads
Browse files Browse the repository at this point in the history
JL_DLLEXPORT should be used because it will automatically switch
between importing and exporting the symbol as needed.
  • Loading branch information
imciner2 committed Dec 20, 2020
1 parent f1a39b6 commit f6b0edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/julia.h
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ JL_DLLEXPORT int jl_is_debugbuild(void) JL_NOTSAFEPOINT;
JL_DLLEXPORT jl_sym_t *jl_get_UNAME(void) JL_NOTSAFEPOINT;
JL_DLLEXPORT jl_sym_t *jl_get_ARCH(void) JL_NOTSAFEPOINT;
JL_DLLEXPORT jl_value_t *jl_get_libllvm(void) JL_NOTSAFEPOINT;
extern JL_DLLIMPORT int jl_n_threads;
extern JL_DLLEXPORT int jl_n_threads;

// environment entries
JL_DLLEXPORT jl_value_t *jl_environ(int i);
Expand Down

0 comments on commit f6b0edc

Please sign in to comment.