Vanilla List Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VANILLA-LIST:3131] Binary portability
I've had this so often during the years.
Yes, it will be structure padding. Compare the output of
sizeof(struct each_packet) on the various platforms. Maybe
even code an assert to make sure it is set right regardless.
Linux runs on MIPS and Alpha as well, so to say that Linux
is little endian is slightly wrong. ;-)
--
James Cameron mailto:quozl@us.netrek.org http://quozl.us.netrek.org/