From: John Kohl Date: Tue, 21 Nov 1989 16:11:35 +0000 (+0000) Subject: git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@27 dc483132-0cff-0310-8789-dd5450dbe970 X-Git-Tag: krb5-1.0-alpha2~1346 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=52be41146f430ef9740f4e87c0b6a90b6361a46d;p=krb5.git git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@27 dc483132-0cff-0310-8789-dd5450dbe970 --- 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__ */