summaryrefslogtreecommitdiff
path: root/bcc/byteord.h
blob: e7b19e0e4ef78220e38a2901e565925b99ccca1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* byteord.h - byte order dependencies for bcc */

/* Copyright (C) 1992 Bruce Evans */

#ifdef I8088
# define BIG_ENDIAN 0
# define LONG_BIG_ENDIAN 1	/* longs are back to front for Xenix */
#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