[sane-devel] 3 minor problems with current (20061202) CVS code on
OS/2
Gerhard Jaeger
gerhard at gjaeger.de
Mon Dec 4 19:28:43 CET 2006
On Saturday 02 December 2006 22:11, Alessandro Zummo wrote:
> On Sat, 02 Dec 2006 21:26:25 +0100 (CET)
>
> "Franz Bakan" <fbakan at gmx.net> wrote:
> > On Sat, 2 Dec 2006 20:31:06 +0100, Alessandro Zummo wrote:
> > > well, you need to check where are those functions/types
> > > defined on os/2 :)
> >
> > Yes, I know and already checked, but unfortunattely there is not place
> > where
> >
> > __le16_to_cpup(), __u16,, __le32_to_cpup(),
> > __u32, __le32 or __cpu_to_le32()
> >
> > are defined on OS/2. What do you suggest?
>
> mmm.. you should try to find similar macros we
> can use/adapt in some OS/2 include file... I guess
> endianness conversion is performed even on OS/2 ;)
>
Hmmm, I think you should not use these macros in userspace anyway!
They are not portable an I'm pretty sure building SANE on any
platform but Linux will fail.
my 2 cents
Gerhard
More information about the sane-devel
mailing list