On Mon, 4 Dec 2006 19:28:43 +0100 (MET) Gerhard Jaeger <gerh...@gjaeger.de> wrote:
> > > > > > __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. mm. right. So I need to find some portable macros or include appropriate one in sane. any suggestion? -- Best regards, Alessandro Zummo, Tower Technologies - Turin, Italy http://www.towertech.it