From 7f14180959d80a478413715294c4b8973da106dd Mon Sep 17 00:00:00 2001 From: "mkaply%us.ibm.com" Date: Mon, 28 Mar 2005 16:30:29 +0000 Subject: [PATCH] #286494 r/sr=mkaply From Peter Weilbacher - get SVG working on OS/2 - short name for DLL, BGRA pixel format --- layout/svg/renderer/src/libart/nsSVGLibartBitmapAlpha.cpp | 2 +- other-licenses/libart_lgpl/Makefile.in | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/layout/svg/renderer/src/libart/nsSVGLibartBitmapAlpha.cpp b/layout/svg/renderer/src/libart/nsSVGLibartBitmapAlpha.cpp index 316661f1f2a4..9b94449941a0 100644 --- a/layout/svg/renderer/src/libart/nsSVGLibartBitmapAlpha.cpp +++ b/layout/svg/renderer/src/libart/nsSVGLibartBitmapAlpha.cpp @@ -228,7 +228,7 @@ nsSVGLibartBitmapAlpha::GetBits() NS_IMETHODIMP_(nsISVGLibartBitmap::PixelFormat) nsSVGLibartBitmapAlpha::GetPixelFormat() { -#if defined(XP_WIN) || defined(XP_BEOS) || defined(MOZ_WIDGET_PHOTON) +#if defined(XP_WIN) || defined(XP_BEOS) || defined(MOZ_WIDGET_PHOTON) || defined(XP_OS2) return PIXEL_FORMAT_32_BGRA; #else return PIXEL_FORMAT_32_RGBA; diff --git a/other-licenses/libart_lgpl/Makefile.in b/other-licenses/libart_lgpl/Makefile.in index 7d5d5daef40a..733269274485 100644 --- a/other-licenses/libart_lgpl/Makefile.in +++ b/other-licenses/libart_lgpl/Makefile.in @@ -8,6 +8,9 @@ include $(DEPTH)/config/autoconf.mk MODULE = libart_lgpl LIBRARY_NAME = moz_art_lgpl +ifneq ($(OS_ARCH),WINNT) +SHORT_LIBNAME = moz_art +endif GRE_MODULE = 1 LIB_IS_C_ONLY=1