[openmp] Fix building in debug mode with mingw
Mingw doesn't provide the _malloc_dbg/_free_dbg functions. Differential Revision: https://reviews.llvm.org/D137743
This commit is contained in:
parent
61c2276cb2
commit
3438ed8f7e
|
@ -154,7 +154,7 @@
|
||||||
|
|
||||||
#if KMP_DEBUG
|
#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.
|
// KMP_DEBUG != _DEBUG. MS debug RTL is available only if _DEBUG is defined.
|
||||||
|
|
||||||
// Windows* OS has native memory debugging capabilities. Enable them.
|
// Windows* OS has native memory debugging capabilities. Enable them.
|
||||||
|
|
Loading…
Reference in New Issue