diff options
author | fcolin | 2007-02-01 13:02:16 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:02:16 +0000 |
commit | bf4765d47b3c5968147eea7f5be33c6a46d8ee26 (patch) | |
tree | 970dfe691567e8f1b693b812fbc5ff5d98f75f54 /Bus/Ivy/IvyStdAfx.cpp | |
parent | 6df23c03794485b61c0a534a0f86c039add42e0b (diff) | |
download | ivy-cplusplus-bf4765d47b3c5968147eea7f5be33c6a46d8ee26.zip ivy-cplusplus-bf4765d47b3c5968147eea7f5be33c6a46d8ee26.tar.gz ivy-cplusplus-bf4765d47b3c5968147eea7f5be33c6a46d8ee26.tar.bz2 ivy-cplusplus-bf4765d47b3c5968147eea7f5be33c6a46d8ee26.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 'Bus/Ivy/IvyStdAfx.cpp')
-rw-r--r-- | Bus/Ivy/IvyStdAfx.cpp | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Bus/Ivy/IvyStdAfx.cpp b/Bus/Ivy/IvyStdAfx.cpp index 5feeaf4..fa5d17b 100644 --- a/Bus/Ivy/IvyStdAfx.cpp +++ b/Bus/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
|