1/* ===-- endian.h - stub SDK header for compiler-rt -------------------------===
2 *
3 *                     The LLVM Compiler Infrastructure
4 *
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
7 *
8 * ===-----------------------------------------------------------------------===
9 *
10 * This is a stub SDK header file. This file is not part of the interface of
11 * this library nor an official version of the appropriate SDK header. It is
12 * intended only to stub the features of this header required by compiler-rt.
13 *
14 * ===-----------------------------------------------------------------------===
15 */
16
17#ifndef __ENDIAN_H__
18#define __ENDIAN_H__
19
20#define __LITTLE_ENDIAN 1234
21#define __BIG_ENDIAN 4321
22
23#if defined(__LITTLE_ENDIAN__) || defined(__ORDER_LITTLE_ENDIAN__)
24#define __BYTE_ORDER __LITTLE_ENDIAN
25#else
26#define __BYTE_ORDER __BIG_ENDIAN
27#endif
28
29#endif /* __ENDIAN_H__ */
30