git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@27 dc483132-0cff-0310-8789-dd5450dbe970
authorJohn Kohl <jtkohl@mit.edu>
Tue, 21 Nov 1989 16:11:35 +0000 (16:11 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 21 Nov 1989 16:11:35 +0000 (16:11 +0000)
src/include/krb5/wordsize.h [new file with mode: 0644]

diff --git a/src/include/krb5/wordsize.h b/src/include/krb5/wordsize.h
new file mode 100644 (file)
index 0000000..afcedf2
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ *
+ * Copyright 1989 by the Massachusetts Institute of Technology.
+ *
+ * For copying and distribution information, please see the file
+ * <krb5/mit-copyright.h>.
+ *
+ * Word-size related definition.
+ */
+
+#include <krb5/mit-copyright.h>
+
+#ifndef __KRB_WORDSIZE__
+#define __KRB_WORDSIZE__
+
+#ifdef BITS16
+#define __OK
+typedef        int     int16;
+typedef        long    int32;
+typedef        unsigned char   octet;
+#endif
+
+#ifdef BITS32
+#define __OK
+typedef        short   int16;
+typedef        int     int32;
+typedef        unsigned char   octet;
+#endif
+
+#ifndef __OK
+ Error:  must define word size!
+#endif __OK
+
+#undef __OK
+
+#endif /* __KRB_WORDSIZE__ */