summaryrefslogtreecommitdiff
path: root/bcc/byteord.h
blob: 00cfd4290c48d3a8ad3bca260217a1e73a8dd793 (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 INT_BIG_ENDIAN 0
# define LONG_BIG_ENDIAN 1	/* longs are back to front for Xenix */
#endif

#ifdef MC6809
# define INT_BIG_ENDIAN 1	/* byte order in words is high-low */
# define LONG_BIG_ENDIAN 1	/* byte order in longs is high-low */
#endif