Rationalise our include paths
[openafs.git] / src / des / 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
18 #include "mit-cpyright.h"
19
20 #include "andrew-conf.h"
21
22 #ifdef SHORTNAMES
23 #include "names.h"
24 #endif
25
26 /*
27  * Language implementation-specific definitions
28  */
29
30 /* special cases */
31 #ifdef __HIGHC__
32 /* broken implementation of ANSI C */
33 #undef __STDC__
34 #endif
35
36 #ifndef __STDC__
37 #define const
38 #define volatile
39 #define signed
40 typedef char *pointer;          /* pointer to generic data */
41 #define PROTOTYPE(p) ()
42 #else
43 typedef void *pointer;
44 #define PROTOTYPE(p) p
45 #endif
46
47 /* Does your compiler understand "void"? */
48 #ifdef notdef
49 #define void int
50 #endif
51
52 /*
53  * A few checks to see that necessary definitions are included.
54  */
55
56 /* byte order */
57
58 #ifndef MSBFIRST
59 #ifndef LSBFIRST
60 /* #error byte order not defined */
61 Error:byte order not defined.
62 #endif
63 #endif
64 /* machine size */
65 #ifndef BITS16
66 #ifndef BITS32
67 Error:how big is this machine anyways ?
68 #endif
69 #endif
70 /* end of checks */
71 #endif /* _CONF_H_ */