2e2a84cd6e428b3fb9411fb2b2eebfa934bd21ee
[openafs.git] / src / WINNT / kfw / inc / krb4 / conf.h
1 /*
2  * Copyright 1988 by the Massachusetts Institute of Technology.
3  *
4  * For copying and distribution information, please see the file
5  * <mit-copyright.h>.
6  *
7  * Configuration info for operating system, hardware description,
8  * language implementation, C library, etc.
9  *
10  * This file should be included in (almost) every file in the Kerberos
11  * sources, and probably should *not* be needed outside of those
12  * sources.  (How do we deal with /usr/include/des.h and
13  * /usr/include/krb.h?)
14  */
15
16 #ifndef _CONF_H_
17 #define _CONF_H_
18
19 #include "osconf.h"
20
21 #ifdef SHORTNAMES
22 #include "names.h"
23 #endif
24
25 /*
26  * Language implementation-specific definitions
27  */
28
29 /* special cases */
30 #ifdef __HIGHC__
31 /* broken implementation of ANSI C */
32 #undef __STDC__
33 #endif
34
35 #if !defined(__STDC__) && !defined(PC)
36 #define const
37 #define volatile
38 #define signed
39 typedef char *pointer;          /* pointer to generic data */
40 #ifndef PROTOTYPE
41 #define PROTOTYPE(p) ()
42 #endif
43 #else
44 typedef void *pointer;
45 #ifndef PROTOTYPE
46 #define PROTOTYPE(p) p
47 #endif
48 #endif
49
50 /* Does your compiler understand "void"? */
51 #ifdef notdef
52 #define void int
53 #endif
54
55 /*
56  * A few checks to see that necessary definitions are included.
57  */
58
59 #ifndef MSBFIRST
60 #ifndef LSBFIRST
61 #error byte order not defined
62 #endif
63 #endif
64
65 /* machine size */
66 #ifndef BITS16
67 #ifndef BITS32
68 #error number of bits?
69 #endif
70 #endif
71
72 /* end of checks */
73
74 #endif /* _CONF_H_ */