Bug 560969: Teach trace-malloc about VC10. r=dbaron
authorChris Jones <jones.chris.g@gmail.com>
Tue, 27 Apr 2010 00:43:04 -0500
changeset 41383 0b0b07662a88f52d208f440058829d68c705904c
parent 41382 5f91d6364706ec3db07b22520d88a989faf8600a
child 41384 0b79a1d2763a4f5b6163acefdf063d1ebad1bcf5
child 46830 6d8a6929844871f3ca2424a507ba883cafeed1d6
push idunknown
push userunknown
push dateunknown
reviewersdbaron
bugs560969
milestone1.9.3a5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 560969: Teach trace-malloc about VC10. r=dbaron
tools/trace-malloc/lib/nsWinTraceMalloc.cpp
--- a/tools/trace-malloc/lib/nsWinTraceMalloc.cpp
+++ b/tools/trace-malloc/lib/nsWinTraceMalloc.cpp
@@ -57,16 +57,18 @@
 #elif _MSC_VER == 1300
 #define NS_DEBUG_CRT "msvcr70d.dll"
 #elif _MSC_VER == 1310
 #define NS_DEBUG_CRT "msvcr71d.dll"
 #elif _MSC_VER == 1400
 #define NS_DEBUG_CRT "msvcr80d.dll"
 #elif _MSC_VER == 1500
 #define NS_DEBUG_CRT "msvcr90d.dll"
+#elif _MSC_VER == 1600
+#define NS_DEBUG_CRT "msvcr100d.dll"
 #else
 #error "Don't know filename of MSVC debug library."
 #endif
 
 DHW_DECLARE_FUN_TYPE_AND_PROTO(dhw_malloc, void*, __cdecl, MALLOC_, (size_t));
 
 DHWImportHooker &getMallocHooker()
 {