X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bd5bbc948bd22c5a0edde9e35e4995c919f593b..e15421ad3b12cbcbf4f1d5abfb153b00a7018bb8:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 0f51b89b6d..d30fc10ee8 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -35,7 +35,7 @@ #include "wx/app.h" #endif -#include +#include "wx/log.h" #include #include "wx/ioswrap.h" @@ -46,7 +46,8 @@ #include #endif -#if !defined(__WATCOMC__) && !defined(__VMS__) && !defined( __MWERKS__ ) && !defined(__SALFORDC__) +#if !defined(__WATCOMC__) && !(defined(__VMS__) && ( __VMS_VER < 70000000 ) )\ + && !defined( __MWERKS__ ) && !defined(__SALFORDC__) #include #endif @@ -1003,8 +1004,6 @@ void operator delete (void * buf) #if defined(__VISUALC__) && (__VISUALC__ >= 1200) void operator delete(void* pData, wxChar* /* fileName */, int /* lineNum */) { -// ::operator delete(pData); - // JACS 21/11/1998: surely we need to call wxDebugFree? wxDebugFree(pData, FALSE); } // New operator 21/11/1998