mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-27 03:40:22 +00:00
Guard use of _debug_memset with __DEBUG_ALLOC__
This is engaged with IBM XLC's -qheapdebug option
This commit is contained in:
parent
e26b1a0b2a
commit
1e8ac49b49
2
stdcpp.h
2
stdcpp.h
@ -34,11 +34,13 @@ namespace std {
|
||||
|
||||
// workaround needed for IBM XLC and debug heaps on AIX
|
||||
#if defined(_AIX) && (defined(__xlc__) || defined(__xlC__) || defined(__ibmxl__))
|
||||
# if defined(__DEBUG_ALLOC__)
|
||||
namespace std {
|
||||
using ::_debug_memset;
|
||||
using ::_debug_memcpy;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// make_unchecked_array_iterator
|
||||
#if _MSC_VER >= 1600
|
||||
|
Loading…
Reference in New Issue
Block a user