From f6b0edce993638a021094c1a84f6ca76c1fb52ee Mon Sep 17 00:00:00 2001 From: Ian McInerney Date: Sun, 20 Dec 2020 01:36:57 +0000 Subject: [PATCH] Fix visibility of jl_n_threads JL_DLLEXPORT should be used because it will automatically switch between importing and exporting the symbol as needed. --- src/julia.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/julia.h b/src/julia.h index c16f9000fd89e..f6518c497acf2 100644 --- a/src/julia.h +++ b/src/julia.h @@ -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);