blob: 79c3163ee9d2a9655acfb7a16a37dcc02c4b18b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef _ENDIAN_H
#define _ENDIAN_H
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
/** Constant representing little-endian byte order
*
* Little-endian systems should define BYTE_ORDER as LITTLE_ENDIAN.
* This constant is intended to be used only at compile time.
*/
#define __LITTLE_ENDIAN 0x44332211UL
/** Constant representing big-endian byte order
*
* Big-endian systems should define BYTE_ORDER as BIG_ENDIAN.
* This constant is intended to be used only at compile time.
*/
#define __BIG_ENDIAN 0x11223344UL
#include "bits/endian.h"
#endif /* _ENDIAN_H */
|