blob: 0e2b4032b6fcf48d1a5196e30d0d95ab798e8614 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/*
* bin86/ld/byteord.h
*
* Copyright (C) 1992 Bruce Evans
*/
/* byteord.h - byte order dependencies for C compiler, assembler, linker */
/* These are for the targets of everything and for linker source too. */
#ifdef I8086
# define BIG_ENDIAN 0
# define LONG_BIG_ENDIAN 0 /* except longs are back to front for Xenix */
#endif
#ifdef I80386
# define BIG_ENDIAN 0
# define LONG_BIG_ENDIAN 0
#endif
#ifdef MC6809
# define BIG_ENDIAN 1 /* byte order in words is high-low */
# define LONG_BIG_ENDIAN 1 /* byte order in longs is high-low */
#endif
|