[Openmp-commits] [PATCH] D137743: [openmp] Fix building in debug mode with mingw
Martin Storsjö via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Nov 11 03:55:55 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3438ed8f7e6b: [openmp] Fix building in debug mode with mingw (authored by mstorsjo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137743/new/
https://reviews.llvm.org/D137743
Files:
openmp/runtime/src/kmp_wrapper_malloc.h
Index: openmp/runtime/src/kmp_wrapper_malloc.h
===================================================================
--- openmp/runtime/src/kmp_wrapper_malloc.h
+++ openmp/runtime/src/kmp_wrapper_malloc.h
@@ -154,7 +154,7 @@
#if KMP_DEBUG
-#if KMP_OS_WINDOWS && _DEBUG
+#if KMP_OS_WINDOWS && _DEBUG && !defined(__MINGW32__)
// KMP_DEBUG != _DEBUG. MS debug RTL is available only if _DEBUG is defined.
// Windows* OS has native memory debugging capabilities. Enable them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137743.474718.patch
Type: text/x-patch
Size: 478 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221111/6adc4bdc/attachment.bin>
More information about the Openmp-commits
mailing list