summaryrefslogblamecommitdiffstats
path: root/graphics/png/files/patch-ad
blob: 08efacae5b75dd178d651b8bc2dd1c299ff743c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                        
--- pngconf.h.orig  Wed May 16 03:52:22 2007
+++ pngconf.h   Mon May 21 13:25:03 2007
@@ -729,7 +729,7 @@
  * PNG_NO_MMX_CODE disables the use of MMX code without changing the API.
  * When MMX code is off, then optimized C replacement functions are used.
 */
-#if defined(PNG_READ_SUPPORTED) && !defined(PNG_NO_ASSEMBLER_CODE)
+#if defined(PNG_READ_SUPPORTED) && !defined(PNG_NO_ASSEMBLER_CODE) && defined(__i386__)
 #  ifndef PNG_ASSEMBLER_CODE_SUPPORTED
 #    define PNG_ASSEMBLER_CODE_SUPPORTED
 #  endif