/* byteord.h - byte order dependencies for C compiler, assembler, linker */

/* Copyright (C) 1994 Bruce Evans */

/* 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
