wrong htons() used?

Grant Edwards grante@visi.com
Fri Oct 22 08:43:00 GMT 1999


> Neither __BIG_ENDIAN nor __LITTLE_ENDIAN is defined, since the file
> rdi-share/endian.h is shadowing /usr/include/endian.h.  I think that
> this means things default to BIG_ENDIAN behavior.
> 
> I thing the best option is to rename rdi-share/endian.h so that it
> doesn't shadow /usr/include/endian.h.  rdi-share/endian.h appears to
> be some strictly local stuff and not intented as a replacement for
> /usr/include/endian.h.

I renamed rdi-share/endian.h and everything works much better now.  I get
the feeling that not too many people are using this target.  :)

-- 
Grant Edwards
grante@visi.com


More information about the Gdb mailing list