OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [include/] [machine/] [endian.h] - Blame information for rev 868

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifndef __MACHINE_ENDIAN_H__
2
 
3
#include <sys/config.h>
4
 
5
#ifndef BIG_ENDIAN
6
#define BIG_ENDIAN 4321
7
#endif
8
#ifndef LITTLE_ENDIAN
9
#define LITTLE_ENDIAN 1234
10
#endif
11
 
12
#ifndef BYTE_ORDER
13
#ifdef __IEEE_LITTLE_ENDIAN
14
#define BYTE_ORDER LITTLE_ENDIAN
15
#else
16
#define BYTE_ORDER BIG_ENDIAN
17
#endif
18
#endif
19
 
20
#endif /* __MACHINE_ENDIAN_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.