[zbin] Fix check for existence of most recent output byte
[ipxe.git] / src / include / endian.h
1 #ifndef ETHERBOOT_ENDIAN_H
2 #define ETHERBOOT_ENDIAN_H
3
4 FILE_LICENCE ( GPL2_OR_LATER );
5
6 /* Definitions for byte order, according to significance of bytes,
7 from low addresses to high addresses. The value is what you get by
8 putting '4' in the most significant byte, '3' in the second most
9 significant byte, '2' in the second least significant byte, and '1'
10 in the least significant byte, and then writing down one digit for
11 each byte, starting with the byte at the lowest address at the left,
12 and proceeding to the byte with the highest address at the right. */
13
14 #define __LITTLE_ENDIAN 1234
15 #define __BIG_ENDIAN 4321
16 #define __PDP_ENDIAN 3412
17
18 #include "bits/endian.h"
19
20
21 #endif /* ETHERBOOT_ENDIAN_H */