import cyrus-sasl-2.1.23
[cyrus-sasl.git] / mac / kerberos_includes / conf.h
1 /*
2  * $Source: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/conf.h,v $
3  * $Author: rjs3 $
4  * $Header: /afs/andrew/system/cvs/src/sasl/mac/kerberos_includes/conf.h,v 1.2 2001/12/04 02:06:05 rjs3 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 _KERBEROS_CONF_H
21 #define _KERBEROS_CONF_H
22
23 #pragma ident   "@(#)conf.h     1.5     93/02/04 SMI"
24
25 #include <kerberos/mit-copyright.h>
26
27 #include <kerberos/osconf.h>
28
29 #ifdef SHORTNAMES
30 #include <kerberos/names.h>
31 #endif
32
33 #ifdef  __cplusplus
34 extern "C" {
35 #endif
36
37 /*
38  * Language implementation-specific definitions
39  */
40
41 /* special cases */
42 #ifdef __HIGHC__
43 /* broken implementation of ANSI C */
44 #undef __STDC__
45 #endif
46
47 #ifndef __STDC__
48 #define const
49 #define volatile
50 #define signed
51 typedef char *pointer;          /* pointer to generic data */
52 #define PROTOTYPE(p) ()
53 #else
54 typedef void *pointer;
55 #define PROTOTYPE(p) p
56 #endif
57
58 /* Does your compiler understand "void"? */
59 #ifdef notdef
60 #define void int
61 #endif
62
63 /*
64  * A few checks to see that necessary definitions are included.
65  */
66
67 /* byte order */
68
69 #ifndef MSBFIRST
70 #ifndef LSBFIRST
71 /* #error byte order not defined */
72 Error: byte order not defined.
73 #endif
74 #endif
75
76 /* machine size */
77 #ifndef BITS16
78 #ifndef BITS32
79 Error: how big is this machine anyways?
80 #endif
81 #endif
82
83 /* end of checks */
84
85 #ifdef  __cplusplus
86 }
87 #endif
88
89 #endif  /* _KERBEROS_CONF_H */