Bug 712552. (Av1) Remove MSVC6 support from trace-malloc. r=dbaron.
authorSerge Gautherie <sgautherie.bz@free.fr>
Fri, 23 Mar 2012 02:58:24 +0100
changeset 93375 996b89200406b4abae2ab874be1ed412aa14017c
parent 93374 2cec1f79a141fc6098fae474c67b6eb03c8d819c
child 93376 ab2ff3b5611fe63c94b3de9beae3757076214ef5
push idunknown
push userunknown
push dateunknown
reviewersdbaron
bugs712552
milestone14.0a1
Bug 712552. (Av1) Remove MSVC6 support from trace-malloc. r=dbaron. DONTBUILD (comment-only).
tools/trace-malloc/spacecategory.c
tools/trace-malloc/spacetrace.c
--- a/tools/trace-malloc/spacecategory.c
+++ b/tools/trace-malloc/spacecategory.c
@@ -47,19 +47,16 @@
 
 /*
 ** Required include files.
 */
 #include "spacetrace.h"
 #include <ctype.h>
 #include <string.h>
 
-/*
-** Ugh, MSVC6's qsort is too slow...
-*/
 #include "nsQuickSort.h"
 
 #if defined(HAVE_BOUTELL_GD)
 /*
 ** See http://www.boutell.com/gd for the GD graphics library.
 ** Ports for many platorms exist.
 ** Your box may already have the lib (mine did, redhat 7.1 workstation).
 */
--- a/tools/trace-malloc/spacetrace.c
+++ b/tools/trace-malloc/spacetrace.c
@@ -65,19 +65,16 @@
 ** Your box may already have the lib (mine did, redhat 7.1 workstation).
 */
 #include <gd.h>
 #include <gdfontt.h>
 #include <gdfonts.h>
 #include <gdfontmb.h>
 #endif /* HAVE_BOUTELL_GD */
 
-/*
-** Ugh, MSVC6's qsort is too slow...
-*/
 #include "nsQuickSort.h"
 #include "prlong.h"
 /*
 **  strcasecmp API please.
 */
 #if defined(_MSC_VER)
 #define strcasecmp _stricmp
 #define strncasecmp _strnicmp