Various changes for 16-bit compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-07-02 15:16:56 +00:00
parent ccd82cd130
commit 5260b1c582
12 changed files with 49 additions and 14 deletions

View File

@@ -884,6 +884,7 @@ void * operator new (size_t size, char * fileName, int lineNum)
#endif
}
#if !( defined (_MSC_VER) && (_MSC_VER <= 800) )
void * operator new[] (size_t size, char * fileName, int lineNum)
{
#ifdef NO_DEBUG_ALLOCATION
@@ -892,6 +893,7 @@ void * operator new[] (size_t size, char * fileName, int lineNum)
return wxDebugAlloc(size, fileName, lineNum, FALSE, TRUE);
#endif
}
#endif
void operator delete (void * buf)
{
@@ -902,6 +904,7 @@ void operator delete (void * buf)
#endif
}
#if !( defined (_MSC_VER) && (_MSC_VER <= 800) )
void operator delete[] (void * buf)
{
#ifdef NO_DEBUG_ALLOCATION
@@ -910,6 +913,7 @@ void operator delete[] (void * buf)
wxDebugFree(buf, TRUE);
#endif
}
#endif
#endif