[sane-devel] Re: Sane on Ultra Sparc

T. Ribbrock emgaron@gmx.net
Sat, 11 Jan 2003 17:56:05 +0100


On Sat, Jan 11, 2003 at 12:26:06PM +0100, abel deuring wrote:
> Seems that I made a too big show out of the problem. Dieter Jurzitza 
> discovered that it is enough to simply add
> 
> #ifdef __SPARC_ARCH__
> #undef SG_IO
> #endif /* __SPARC_ARCH__ */

That didn't work for me. What *did* work was:

#ifdef __sparc__
#undef SG_IO
#endif /* __sparc__ */

With this define, sane-find-scanner detects the scanner on the U5 just
like it did on the SS20 before.

Great stuff - thanks a mil!

Cheerio,

Thomas
-- 
-----------------------------------------------------------------------------
      Thomas Ribbrock    http://www.ribbrock.org    ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"