summaryrefslogtreecommitdiff
path: root/src/include/port/sunos4.h
blob: e9c0ec29d44f30cfa44f29ab99916377df7c6d6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#define USE_POSIX_TIME
#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