diff options
Diffstat (limited to 'openmp/runtime/src/z_Windows_NT_util.c')
-rw-r--r-- | openmp/runtime/src/z_Windows_NT_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/runtime/src/z_Windows_NT_util.c b/openmp/runtime/src/z_Windows_NT_util.c index 01a0156bff1..d60f3c50905 100644 --- a/openmp/runtime/src/z_Windows_NT_util.c +++ b/openmp/runtime/src/z_Windows_NT_util.c @@ -835,7 +835,7 @@ __kmp_runtime_initialize( void ) return; }; -#if GUIDEDLL_EXPORTS +#if KMP_DYNAMIC_LIB /* Pin dynamic library for the lifetime of application */ { // First, turn off error message boxes @@ -863,7 +863,7 @@ __kmp_runtime_initialize( void ) #endif /* KMP_ARCH_X86 || KMP_ARCH_X86_64 */ /* Set up minimum number of threads to switch to TLS gtid */ - #if KMP_OS_WINDOWS && ! defined GUIDEDLL_EXPORTS + #if KMP_OS_WINDOWS && ! defined KMP_DYNAMIC_LIB // Windows* OS, static library. /* New thread may use stack space previously used by another thread, currently terminated. |