Back to index

glibc  2.9
endian.h
Go to the documentation of this file.
00001 /* The MIPS architecture has selectable endianness.
00002    This file is for a machine using big-endian mode.  */
00003 
00004 #ifndef _ENDIAN_H
00005 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
00006 #endif
00007 
00008 #if __MIPSEB
00009 # define __BYTE_ORDER __BIG_ENDIAN
00010 #endif
00011 #if __MIPSEL
00012 # define __BYTE_ORDER __LITTLE_ENDIAN
00013 #endif