File: os.h

package info (click to toggle)
nfswatch 4.99.11-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 492 kB
  • sloc: ansic: 7,429; makefile: 186
file content (77 lines) | stat: -rw-r--r-- 1,391 bytes parent folder | download | duplicates (5)
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
 * $Id: os.h,v 1.4 2005/11/21 16:54:02 c4chris Exp $
 *
 * os.h	- operating system definitions.
 *
 * David A. Curry				Jeffrey C. Mogul
 * Purdue University				Digital Equipment Corporation
 * Engineering Computer Network			Western Research Laboratory
 * 1285 Electrical Engineering Building		250 University Avenue
 * West Lafayette, IN 47907-1285		Palo Alto, CA 94301
 * davy@ecn.purdue.edu				mogul@decwrl.dec.com
 *
 */
#ifdef LINUX
#ifndef USE_LINUX
#define USE_LINUX	1
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE	1
#endif
#endif

#ifdef IRIX40
#ifndef USE_SNOOP
#define USE_SNOOP	1
#endif
#define signal		sigset
#define	U_INT32_DECLARED_IN_AUTH	1
#endif

#ifdef SUNOS4
#ifndef USE_NIT
#define USE_NIT	1
#endif
#define	U_INT32_DECLARED_IN_AUTH	1
#endif

#ifdef SUNOS5
#ifndef SVR4
#define SVR4		1
#endif
#ifndef USE_DLPI
#define USE_DLPI	1
#endif
#define	U_INT32_DECLARED_IN_AUTH	1
#endif

#if defined(SUNOS55) || defined(SUNOS58)
#ifndef SUNOS54
#define SUNOS54		1
#endif
#undef U_INT32_DECLARED_IN_AUTH
#endif

#ifdef SVR4
#ifndef USE_DLPI
#define USE_DLPI	1
#endif
#define index		strchr
#define rindex		strrchr
#define signal		sigset
#define bzero(b,n)	memset(b,0,n)
#define bcmp(a,b,n)	memcmp(a,b,n)
#define bcopy(a,b,n)	memcpy(b,a,n)
#endif

#ifdef ULTRIX
#ifndef USE_PFILT
#define USE_PFILT	1
#endif
#endif

#ifdef DECOSF
#ifndef USE_PFILT
#define USE_PFILT	1
#endif
#endif