<p>Not quite useful. GCC and Clang will readily tell you the endianness: <a href="http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html">http://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html</a></p>

<pre><code>#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
#if __BYTE_ORDER__ == __ORDER_PDP_ENDIAN__
</code></pre>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/RIOT-OS/RIOT/issues/103#issuecomment-22329962'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/nk6wd41MAuvPJXbQc5p53SHtvVjNrRXT8c1-OV4gWGQA5H3ynu0XuPdBY1TwTu1z.gif' height='1' width='1'></p>