Bug 295659: include nsRect.cpp in xmlextras to cope with compilers which

expand inlines in nsRect too aggressively.  (nsRect is found via nsGUIEvent.h
included from nsXMLHttpRequest.cpp.) r=bsmedberg, a=asa.
This commit is contained in:
shaver%mozilla.org 2005-06-17 12:07:48 +00:00
Родитель 9da027cd5f
Коммит 6c6bd6dd00
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -69,8 +69,22 @@ CPPSRCS = \
nsLoadListenerProxy.cpp \
$(NULL)
# See bug 295659
DEFINES += -D_IMPL_NS_GFX
CPPSRCS += nsRect.cpp
# we don't want the shared lib, but we want to force the creation of a
# static lib.
FORCE_STATIC_LIB = 1
include $(topsrcdir)/config/rules.mk
# Make sure that we have nsRect built in, because some compilers like to
# aggressively expand some inlines we get via nsGUIEvent.h, and then we
# lose when linking during a (transitive) XPI_PKGNAME build driven by a
# static-app master build.
#
# See bug 295659.
export::
$(NSINSTALL) $(topsrcdir)/gfx/src/nsRect.cpp .