Back to index

glibc  2.9
endian.h
Go to the documentation of this file.
00001 /* SH is bi-endian but with a big-endian FPU.  */
00002 
00003 #ifndef _ENDIAN_H
00004 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
00005 #endif
00006 
00007 #ifdef __LITTLE_ENDIAN__
00008 #define __BYTE_ORDER __LITTLE_ENDIAN
00009 #define __FLOAT_WORD_ORDER __LITTLE_ENDIAN
00010 #else
00011 #define __BYTE_ORDER __BIG_ENDIAN
00012 #define __FLOAT_WORD_ORDER __BIG_ENDIAN
00013 #endif