|
|
1.1 root 1: /*
2: * $Source: /mit/kerberos/src/include/RCS/conf.h,v $
3: * $Author: jtkohl $
4: * $Header: conf.h,v 4.0 89/01/23 09:58:40 jtkohl Exp $
5: *
6: * Copyright 1988 by the Massachusetts Institute of Technology.
7: *
8: * For copying and distribution information, please see the file
9: * <mit-copyright.h>.
10: *
11: * Configuration info for operating system, hardware description,
12: * language implementation, C library, etc.
13: *
14: * This file should be included in (almost) every file in the Kerberos
15: * sources, and probably should *not* be needed outside of those
16: * sources. (How do we deal with /usr/include/des.h and
17: * /usr/include/krb.h?)
18: */
19:
20: #ifndef _CONF_H_
21:
22: #include <mit-copyright.h>
23:
24: #include "osconf.h"
25:
26: #ifdef SHORTNAMES
27: #include "names.h"
28: #endif
29:
30: /*
31: * Language implementation-specific definitions
32: */
33:
34: /* special cases */
35: #ifdef __HIGHC__
36: /* broken implementation of ANSI C */
37: #undef __STDC__
38: #endif
39:
40: #ifndef __STDC__
41: #define const
42: #define volatile
43: #define signed
44: typedef char *pointer; /* pointer to generic data */
45: #define PROTOTYPE(p) ()
46: #else
47: typedef void *pointer;
48: #define PROTOTYPE(p) p
49: #endif
50:
51: /* Does your compiler understand "void"? */
52: #ifdef notdef
53: #define void int
54: #endif
55:
56: /*
57: * A few checks to see that necessary definitions are included.
58: */
59:
60: /* byte order */
61:
62: #ifndef MSBFIRST
63: #ifndef LSBFIRST
64: /* #error byte order not defined */
65: Error: byte order not defined.
66: #endif
67: #endif
68:
69: /* machine size */
70: #ifndef BITS16
71: #ifndef BITS32
72: Error: how big is this machine anyways?
73: #endif
74: #endif
75:
76: /* end of checks */
77:
78: #endif /* _CONF_H_ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.