aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/univel.h
blob: 9ce1fef1ccdd4f93a3b0f5e1b80006f7d50b7b1e (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
#  define USE_POSIX_TIME 
#  define NO_EMPTY_STMTS
#  define USE_POSIX_SIGNALS
#  define SYSV_DIRENT

#if 0
#  define HAS_TEST_AND_SET
   typedef unsigned char slock_t;
#endif

extern long random(void);
extern void srandom(int seed);
extern int strcasecmp(char *s1,char *s2);
extern int gethostname(char *name,int namelen);

#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