Guard use of _debug_memset with __DEBUG_ALLOC__
This is engaged with IBM XLC's -qheapdebug optionpull/748/head
parent
e26b1a0b2a
commit
1e8ac49b49
2
stdcpp.h
2
stdcpp.h
|
|
@ -34,10 +34,12 @@ namespace std {
|
||||||
|
|
||||||
// workaround needed for IBM XLC and debug heaps on AIX
|
// workaround needed for IBM XLC and debug heaps on AIX
|
||||||
#if defined(_AIX) && (defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__))
|
#if defined(_AIX) && (defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__))
|
||||||
|
# if defined(__DEBUG_ALLOC__)
|
||||||
namespace std {
|
namespace std {
|
||||||
using ::_debug_memset;
|
using ::_debug_memset;
|
||||||
using ::_debug_memcpy;
|
using ::_debug_memcpy;
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// make_unchecked_array_iterator
|
// make_unchecked_array_iterator
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue