From 52be41146f430ef9740f4e87c0b6a90b6361a46d Mon Sep 17 00:00:00 2001 From: John Kohl Date: Tue, 21 Nov 1989 16:11:35 +0000 Subject: [PATCH] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@27 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/wordsize.h | 39 +++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/include/krb5/wordsize.h diff --git a/src/include/krb5/wordsize.h b/src/include/krb5/wordsize.h new file mode 100644 index 000000000..afcedf2c1 --- /dev/null +++ b/src/include/krb5/wordsize.h @@ -0,0 +1,39 @@ +/* + * $Source$ + * $Author$ + * $Id$ + * + * Copyright 1989 by the Massachusetts Institute of Technology. + * + * For copying and distribution information, please see the file + * . + * + * Word-size related definition. + */ + +#include + +#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__ */ -- 2.26.2