diff --git a/modules/libpr0n/decoders/mng/imgContainerMNG.cpp b/modules/libpr0n/decoders/mng/imgContainerMNG.cpp index 8640694dd08..292bbc10db2 100644 --- a/modules/libpr0n/decoders/mng/imgContainerMNG.cpp +++ b/modules/libpr0n/decoders/mng/imgContainerMNG.cpp @@ -378,7 +378,7 @@ il_mng_refresh(mng_handle handle, container->mFrame->GetAlphaBytesPerRow(&abpr); // stupid Mac code that shouldn't be in the image decoders... -#ifdef XP_MAC +#if defined(XP_MAC) || defined(XP_MACOSX) PRInt32 iwidth; container->mFrame->GetWidth(&iwidth); PRUint8 *buf = (PRUint8 *)nsMemory::Alloc(bpr); @@ -390,7 +390,7 @@ il_mng_refresh(mng_handle handle, y*container->mByteWidthAlpha, container->mByteWidthAlpha, abpr*y); -#ifdef XP_MAC +#if defined(XP_MAC) || defined(XP_MACOSX) PRUint8 *cptr = buf; PRUint8 *row = container->image+y*container->mByteWidth; for (PRUint32 x=0; x