diff --git a/stdcpp.h b/stdcpp.h index 838d1766..a13fd25b 100644 --- a/stdcpp.h +++ b/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