[sane-devel] 3 minor problems with current (20061202) CVS code on OS/2

Jon Chambers jon at jon.demon.co.uk
Tue Dec 5 10:12:43 CET 2006


Hi,

On Tue, 5 Dec 2006, Gerhard Jaeger wrote:
> On Monday 04 December 2006 21:59, Alessandro Zummo wrote:
> BTW: In the Plustek backend, I use this macro
> #define _SWAP(x,y)   { (x)^=(y); (x)^=((y)^=(x));}

If they are suitable for you then htons, htonl, etc should be pretty 
ubiquitous across OS's.

cheers,
Jon

====================== Jon Chambers =====================
  http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669
=========================================================




More information about the sane-devel mailing list