BSD 4_4_Lite1 development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 14 Feb 1991 11:46:44 +0000 (03:46 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Thu, 14 Feb 1991 11:46:44 +0000 (03:46 -0800)
Work on file usr/src/kerberosIV/include/conf.h

Synthesized-from: CSRG/cd2/4.4BSD-Lite1

usr/src/kerberosIV/include/conf.h [new file with mode: 0644]

diff --git a/usr/src/kerberosIV/include/conf.h b/usr/src/kerberosIV/include/conf.h
new file mode 100644 (file)
index 0000000..71d20b0
--- /dev/null
@@ -0,0 +1,75 @@
+/*
+ * $Source: /usr/src/kerberosIV/include/RCS/conf.h,v $
+ * $Author: bostic $
+ * $Header: /usr/src/kerberosIV/include/RCS/conf.h,v 4.1 91/02/15 02:46:31 bostic Exp $
+ *
+ * Copyright 1988 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <mit-copyright.h>.
+ *
+ * Configuration info for operating system, hardware description,
+ * language implementation, C library, etc.
+ *
+ * This file should be included in (almost) every file in the Kerberos
+ * sources, and probably should *not* be needed outside of those
+ * sources.  (How do we deal with /usr/include/des.h and
+ * /usr/include/krb.h?)
+ */
+
+#ifndef _CONF_H_
+
+#include <mit-copyright.h>
+
+#include "osconf.h"
+
+#ifdef SHORTNAMES
+#include "names.h"
+#endif
+
+/*
+ * Language implementation-specific definitions
+ */
+
+/* special cases */
+#ifdef __HIGHC__
+/* broken implementation of ANSI C */
+#undef __STDC__
+#endif
+
+#ifndef __STDC__
+typedef char *pointer;         /* pointer to generic data */
+#define PROTOTYPE(p) ()
+#else
+typedef void *pointer;
+#define PROTOTYPE(p) p
+#endif
+
+/* Does your compiler understand "void"? */
+#ifdef notdef
+#define void int
+#endif
+
+/*
+ * A few checks to see that necessary definitions are included.
+ */
+
+/* byte order */
+
+#ifndef MSBFIRST
+#ifndef LSBFIRST
+/* #error byte order not defined */
+Error: byte order not defined.
+#endif
+#endif
+
+/* machine size */
+#ifndef BITS16
+#ifndef BITS32
+Error: how big is this machine anyways?
+#endif
+#endif
+
+/* end of checks */
+
+#endif /* _CONF_H_ */