mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-26 19:30:21 +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
6
stdcpp.h
6
stdcpp.h
@ -34,10 +34,12 @@ 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;
|
||||
using ::_debug_memset;
|
||||
using ::_debug_memcpy;
|
||||
}
|
||||
# endif
|
||||
#endif
|
||||
|
||||
// make_unchecked_array_iterator
|
||||
|
Loading…
Reference in New Issue
Block a user