On 09/25/2014 08:40 AM, YunQiang Su wrote: > I tested this patch. It fixes more. > > __mips64 defines for both N32 and N64, so we should use __LP64__ to determine. > > Both big- and little- endian define __mips__,so > __mips__ || __mipsel__ is not needed.
Wait a minute. If I am not mistaken, __mips64__ should be defined by the configure script in include/cln/host_cpu.h, generated from include/cln/host_cpu.h.in. What does include/cln/host_cpu.h look like on your machine? Moreover, in your patch for include/cln/types.h, the parenthesis appear to be wrong. -richard. -- Richard B. Kreckel <http://in.terlu.de/~kreckel/>
signature.asc
Description: OpenPGP digital signature

