some changes required to get bloatblame building on windows
git-svn-id: svn://10.0.0.236/trunk@108185 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
9b413cab0b
commit
10dba00731
40
mozilla/tools/trace-malloc/makefile.win
Executable file
40
mozilla/tools/trace-malloc/makefile.win
Executable file
@ -0,0 +1,40 @@
|
||||
#!nmake
|
||||
#
|
||||
# The contents of this file are subject to the Netscape Public
|
||||
# License Version 1.1 (the "License"); you may not use this file
|
||||
# except in compliance with the License. You may obtain a copy of
|
||||
# the License at http://www.mozilla.org/NPL/
|
||||
#
|
||||
# Software distributed under the License is distributed on an "AS
|
||||
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
||||
# implied. See the License for the specific language governing
|
||||
# rights and limitations under the License.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..
|
||||
|
||||
REQUIRES=xpcom
|
||||
|
||||
include <$(DEPTH)\config\config.mak>
|
||||
|
||||
PROGRAMS=.\$(OBJDIR)\bloatblame.exe
|
||||
|
||||
CPP_OBJS=.\$(OBJDIR)\tmreader.obj
|
||||
|
||||
LLIBS= \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(LIBNSPR) \
|
||||
$(OBJDIR)\tmreader.obj \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(OBJDIR) $(CPP_OBJS) $(PROGRAMS)
|
||||
@ -36,7 +36,11 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h> /* XXX push error reporting out to clients? */
|
||||
#ifndef XP_WIN
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#include <stddef.h>
|
||||
#endif
|
||||
#include "prlog.h"
|
||||
#include "plhash.h"
|
||||
#include "nsTraceMalloc.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user