aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/sco.h
blob: 074c65339790bbac5654dacbbe02541c3921efc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include <limits.h>				/* For _POSIX_PATH_MAX */

#ifndef MAXPATHLEN
#define MAXPATHLEN		_POSIX_PATH_MAX
#endif

#ifndef NOFILE
#define NOFILE			NOFILES_MIN
#endif

#define ONLY_REUSE_INET_SOCKETS

#define DISABLE_COMPLEX_MACRO

#define USE_POSIX_TIME
#define NO_EMPTY_STMTS
#define SYSV_DIRENT

#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM

#define USE_UNIVEL_CC

typedef unsigned char slock_t;

#define DISABLE_COMPLEX_MACRO

/***************************************************************
 * The following include will get the needed prototype for the
 * strcasecmp() function.
 ***************************************************************/
#include <strings.h>

#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		LITTLE_ENDIAN
#endif