[riot-notifications] [RIOT] define endianness in boards (#103)

René Kijewski notifications at github.com
Thu Aug 8 17:06:39 CEST 2013


Not quite useful. GCC and Clang will readily tell you the endianness: http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html

    #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
    #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
    #if __BYTE_ORDER__ == __ORDER_PDP_ENDIAN__

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/issues/103#issuecomment-22329962
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130808/acfdc454/attachment.html>


More information about the notifications mailing list