summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/kmp_safe_c_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/runtime/src/kmp_safe_c_api.h')
-rw-r--r--openmp/runtime/src/kmp_safe_c_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openmp/runtime/src/kmp_safe_c_api.h b/openmp/runtime/src/kmp_safe_c_api.h
index 9d0da0b6073..7dfd2783cb0 100644
--- a/openmp/runtime/src/kmp_safe_c_api.h
+++ b/openmp/runtime/src/kmp_safe_c_api.h
@@ -15,7 +15,7 @@
// Not every unsafe call listed here is handled now, but keeping everything
// in one place should be handy for future maintenance.
-#if KMP_OS_WINDOWS
+#if KMP_OS_WINDOWS && KMP_MSVC_COMPAT
#define RSIZE_MAX_STR (4UL << 10) // 4KB
OpenPOWER on IntegriCloud