File: byteord.h

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (13 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (12)
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