summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/z_Windows_NT_util.c
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-26 17:32:53 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2015-05-26 17:32:53 +0000
commit99016999703149a91127bc811d81a356441b9bfd (patch)
treedf1777135854d05a67767f1cda46a24d9f89481c /openmp/runtime/src/z_Windows_NT_util.c
parent5b30b0aaaeeb2a5bf67f2883eb3cd3787be44756 (diff)
downloadbcm5719-llvm-99016999703149a91127bc811d81a356441b9bfd.tar.gz
bcm5719-llvm-99016999703149a91127bc811d81a356441b9bfd.zip
Change macro GUIDEDLL_EXPORTS to KMP_DYNAMIC_LIB
A while back, Hal suggested updating the GUIDEDLL_EXPORTS macro guard to a more descriptive name. It represents a dynamic library build so KMP_DYNAMIC_LIB is a more suitable name. Differential Revision: http://reviews.llvm.org/D9899 llvm-svn: 238221
Diffstat (limited to 'openmp/runtime/src/z_Windows_NT_util.c')
-rw-r--r--openmp/runtime/src/z_Windows_NT_util.c4
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.
OpenPOWER on IntegriCloud