From 55d1f23fc651ecfaee941e079974126aced2fb9a Mon Sep 17 00:00:00 2001 From: "pavlov%pavlov.net" Date: Mon, 2 Oct 2006 20:38:51 +0000 Subject: [PATCH] disabling MMX support for png decoding on the mac due to a crash. bug 354997. r+sr=me. patch from Glenn Randers-Pehrson . --- modules/libimg/png/mozpngconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/libimg/png/mozpngconf.h b/modules/libimg/png/mozpngconf.h index 113681ba957..6dbb19aa1df 100644 --- a/modules/libimg/png/mozpngconf.h +++ b/modules/libimg/png/mozpngconf.h @@ -42,6 +42,9 @@ #ifndef MOZ_PNG_READ #define PNG_NO_READ_SUPPORTED #endif +#if defined(XP_MACOSX) && !defined(PNG_NO_MMX_CODE) +#define PNG_NO_MMX_CODE +#endif #define PNG_NO_READ_BACKGROUND #define PNG_NO_READ_DITHER #define PNG_NO_READ_INVERT