diff options
author | hboehm <hboehm> | 2006-04-13 00:33:04 +0000 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2011-07-26 21:06:36 +0400 |
commit | e740040e62c64675c8a20253cc4c2a37d8580473 (patch) | |
tree | 0f25928d003ed7e8b167e4e12e71bd679b15f4c8 /gc_cpp.cc | |
parent | 7c72aee80a04eaa5d9e80fa7bfe8b174d86a3453 (diff) | |
download | bdwgc-e740040e62c64675c8a20253cc4c2a37d8580473.tar.gz |
2006-04-12 Hans Boehm <Hans.Boehm@hp.com> (Really mostly Andrei Polushin.)
* Makefile, Makefile.am, Makefile.direct, NT_MAKEFILE,
NT_STATIC_THREADS_MAKEFILE, NT_THREADS_MAKEFILE, gc.mak,
msvc_dbg.c, include/private/msvc_dbg.h:
Add msvc_dbg.c, include/private/msvc_dbg.h.
* Makefile.am, configure.ac: Simplify solaris threads handling.
* gc_cpp.cc: Add another msft-specific new operator.
* misc.c: Use per executable log-file location.
* os_dep.c: Improve GetWriteWatch handling (incomplete).
Support stack traces for MSVC++.
* configure, Makefile.in: Regenerate.
* include/gc_allocator.h: Add <new> include, more PTRFREE decls,
MSVC++ 6 support.
Diffstat (limited to 'gc_cpp.cc')
-rw-r--r-- | gc_cpp.cc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,5 +57,11 @@ void* operator new( size_t size, #endif } +// This new operator is used by VC++ 7.0 and later in Debug builds. +void* operator new[](size_t size, int nBlockUse, const char* szFileName, int nLine) +{ + return operator new(size, nBlockUse, szFileName, nLine); +} + #endif /* _MSC_VER */ |