Re: [2001-05-30] umax_pp compile errors (raw I/O)

From: stef (stef-listes@wanadoo.fr)
Date: Sat Jun 02 2001 - 22:59:50 PDT

  • Next message: Ryan A. Krenzischek: "umax 2400s, sane 1.0.4, umax 1.0 build 26, segv, core"

    On Sat, Jun 02, 2001 at 08:20:32PM +0100, Tim Waugh wrote:
    > On Sat, Jun 02, 2001 at 09:21:41PM +0200, stef wrote:
    >
    > > static void
    > > Outsb (int port, unsigned char *source, int size)
    > > {
    > > #ifndef IO_SUPPORT_MISSING
    > > #ifdef HAVE_STRING_IO
    > > outsb (port, source, size);
    > [#else]
    > > for(i=0,.....)
    > > outb(..)
    > [#endif]
    > > #endif
    > > }
    >
    > Yes, I think so.
    >
    > Thanks,
    > Tim.
    > */

            Since adding insb/outsb detection in 'configure' is beyond my knowledge,
    I simply reused the '__i386__' define. Now insx/outsx are used only on i386 archs.
    The change is committed in current CVS.

    Regards,
            Stef

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Sat Jun 02 2001 - 22:52:54 PDT