diff options
Diffstat (limited to 'bcc/byteord.h')
-rw-r--r-- | bcc/byteord.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bcc/byteord.h b/bcc/byteord.h new file mode 100644 index 0000000..e7b19e0 --- /dev/null +++ b/bcc/byteord.h @@ -0,0 +1,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 |