From 681c212050da8dfafefeaec363dd054cca914819 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:02:16 +0000 Subject: Utilisateur : Fcolin Date : 2/02/01 Heure : 18:30 Archivé dans $/Ivy Commentaire: win CE compile not finished (vss 2) --- Ivy/IvyStdAfx.cpp | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'Ivy/IvyStdAfx.cpp') diff --git a/Ivy/IvyStdAfx.cpp b/Ivy/IvyStdAfx.cpp index 5feeaf4..fa5d17b 100644 --- a/Ivy/IvyStdAfx.cpp +++ b/Ivy/IvyStdAfx.cpp @@ -11,8 +11,21 @@ void DebugTrace ( const char *fmt , ... ) char buffer[4096]; va_list args; - va_start( args, fmt ); + va_start( args, fmt ); vsprintf( buffer, fmt, args ); va_end( args ); - OutputDebugString( buffer ); -} \ No newline at end of file +// OutputDebugStringA( buffer ); +} +#ifdef WIN32 +#ifdef _DEBUG +#include +void* __cdecl operator new(size_t nSize, const char * lpszFileName, int nLine) + { + return ::operator new(nSize, _NORMAL_BLOCK, lpszFileName, nLine); + } +void __cdecl operator delete(void *p, const char * lpszFileName, int nLine) + { + ::operator delete(p, _NORMAL_BLOCK, lpszFileName, nLine); + } +#endif +#endif -- cgit v1.1