summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:02:16 +0000
committerfcolin2007-02-01 13:02:16 +0000
commit681c212050da8dfafefeaec363dd054cca914819 (patch)
tree46da5803a90a3eb40a79c2b028bf17310e3800d2 /Ivy
parenta3053cc5def34cd48b8fb0015ffb245b3e1d53dc (diff)
downloadivy-cplusplus-681c212050da8dfafefeaec363dd054cca914819.zip
ivy-cplusplus-681c212050da8dfafefeaec363dd054cca914819.tar.gz
ivy-cplusplus-681c212050da8dfafefeaec363dd054cca914819.tar.bz2
ivy-cplusplus-681c212050da8dfafefeaec363dd054cca914819.tar.xz
Utilisateur : Fcolin Date : 2/02/01 Heure : 18:30 Archivé dans $/Ivy Commentaire: win CE compile not finished (vss 2)
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/IvyStdAfx.cpp19
1 files changed, 16 insertions, 3 deletions
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 <crtdbg.h>
+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