[sane-devel] byteorder.h

2009-06-02 Thread Alessandro Zummo
On Mon, 01 Jun 2009 20:01:50 -0500 Chris Bagwell wrote: > If no one else gives it a go, I'll have a hand at updating the autoconf > macro. I've not much experience with cross platform locations of those > defines. > > I see in my Fedora 11 Linux box that alot of those duplicates are > define

[sane-devel] byteorder.h

2009-06-02 Thread Alessandro Zummo
it seems the autoconf generated byteorder.h overrides functions defined in the usual includes, generating messages like this one: ../include/byteorder.h:32:1: warning: "htobe16" redefined In file included from /usr/include/sys/types.h:217, from /usr/include/sys/uio.h:24,

[sane-devel] byteorder.h

2009-06-01 Thread Chris Bagwell
If no one else gives it a go, I'll have a hand at updating the autoconf macro. I've not much experience with cross platform locations of those defines. I see in my Fedora 11 Linux box that alot of those duplicates are defined in (although perhaps hidden by some #ifdef's) and the closest the