diff options
| author | John Kohl <jtkohl@mit.edu> | 1989-11-21 16:11:35 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1989-11-21 16:11:35 +0000 |
| commit | 52be41146f430ef9740f4e87c0b6a90b6361a46d (patch) | |
| tree | bd7c8ceee7d064cb9f540ccc1a60aed1a105ca36 /src/include | |
| parent | 76538682d163ac6f127f28e855ee01493771fd90 (diff) | |
| download | krb5-52be41146f430ef9740f4e87c0b6a90b6361a46d.tar.gz krb5-52be41146f430ef9740f4e87c0b6a90b6361a46d.tar.xz krb5-52be41146f430ef9740f4e87c0b6a90b6361a46d.zip | |
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@27 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/wordsize.h | 39 |
1 files changed, 39 insertions, 0 deletions
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 + * <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__ */ |
