Skip to content

Commit 367cf88

Browse files
imciner2staticfloat
authored andcommitted
Fix visibility of jl_n_threads
JL_DLLEXPORT should be used because it will automatically switch between importing and exporting the symbol as needed. (cherry picked from commit f6b0edc)
1 parent d316c98 commit 367cf88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/julia.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ JL_DLLEXPORT int jl_is_debugbuild(void) JL_NOTSAFEPOINT;
15101510
JL_DLLEXPORT jl_sym_t *jl_get_UNAME(void) JL_NOTSAFEPOINT;
15111511
JL_DLLEXPORT jl_sym_t *jl_get_ARCH(void) JL_NOTSAFEPOINT;
15121512
JL_DLLEXPORT jl_value_t *jl_get_libllvm(void) JL_NOTSAFEPOINT;
1513-
extern JL_DLLIMPORT int jl_n_threads;
1513+
extern JL_DLLEXPORT int jl_n_threads;
15141514

15151515
// environment entries
15161516
JL_DLLEXPORT jl_value_t *jl_environ(int i);

0 commit comments

Comments
 (0)