[AD] non-x86 unix build patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


   Here is a trivial patch that fixes compilation failures on non-x86
unix builds.

-- 
Sam.
Index: src/misc/icolconv.s
===================================================================
RCS file: /cvsroot/alleg/allegro/src/misc/icolconv.s,v
retrieving revision 1.27
diff -u -r1.27 icolconv.s
--- src/misc/icolconv.s	27 Jul 2004 08:07:45 -0000	1.27
+++ src/misc/icolconv.s	5 Aug 2004 16:24:33 -0000
@@ -23,8 +23,8 @@
  */
 
 
-#include "src/i386/asmdefs.inc"
-
+#include "allegro/platform/alunixac.h"
+#include "../i386/asmdefs.inc"
 
 /* Better keep the stack pointer 16-byte aligned on modern CPUs */
 #define SLOTS_TO_BYTES(n) (((n*4+15)/16)*16)
@@ -32,6 +32,7 @@
 
 .text
 
+#ifndef ALLEGRO_NO_ASM
 
 #ifdef ALLEGRO_MMX
 
@@ -3283,3 +3284,5 @@
 
 #endif  /* ALLEGRO_NO_COLORCOPY */
 
+#endif  /* ALLEGRO_NO_ASM */
+


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/