Back to index

glibc  2.9
endian.h
Go to the documentation of this file.
00001 /* Sparc is big-endian, but v9 supports endian conversion on loads/stores
00002    and GCC supports such a mode.  Be prepared.  */
00003 
00004 #ifndef _ENDIAN_H
00005 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
00006 #endif
00007 
00008 #ifdef __LITTLE_ENDIAN__
00009 # define __BYTE_ORDER __LITTLE_ENDIAN
00010 #else
00011 # define __BYTE_ORDER __BIG_ENDIAN
00012 #endif