[PATCH] sample: Apply SPARC-specific condition on SPARC only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> It looks like some headers define both _BIG_ENDIAN and _LITTLE_ENDIAN
> (perhaps one is defined as "1" and the other as "0"?), so maybe a
> 
> #if defined(_BIG_ENDIAN) && !defined(_LITTLE_ENDIAN)

boost (boost/detail/endian.hpp) does it like this

p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux