This is the mail archive of the gdb@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: wrong htons() used?



> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]