aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/sunos4.h
blob: 5d7e911cf340d2219c9225c2280c5caf945ebbbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define HAS_TEST_AND_SET
typedef unsigned char slock_t;

/* sprintf() returns char *, not int, on SunOS 4.1.x */
#define SPRINTF_CHAR

#ifndef			BIG_ENDIAN
#define			BIG_ENDIAN		4321
#endif
#ifndef			LITTLE_ENDIAN
#define			LITTLE_ENDIAN	1234
#endif
#ifndef			PDP_ENDIAN
#define			PDP_ENDIAN		3412
#endif
#ifndef			BYTE_ORDER
#define			BYTE_ORDER		BIG_ENDIAN

#endif