X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd85b0640ea48f66a27e5908930e9f004de698b6..72763bfed47d1db784a3585da569fac0c2a6c3d6:/include/wx/memory.h diff --git a/include/wx/memory.h b/include/wx/memory.h index e676282b7a..782559b5dd 100644 --- a/include/wx/memory.h +++ b/include/wx/memory.h @@ -115,8 +115,8 @@ inline void operator delete[] (void * buf) } #endif -// VC++ 6.0 -#if defined(__VISUALC__) && (__VISUALC__ >= 1200) +// VC++ 6.0 and MWERKS +#if ( defined(__VISUALC__) && (__VISUALC__ >= 1200) ) || defined(__MWERKS__) inline void operator delete(void* pData, wxChar* /* fileName */, int /* lineNum */) { wxDebugFree(pData, FALSE);