From ef6781c3ab62174e19d1af1e32eb53f33eda71d0 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Tue, 16 Jun 1992 22:24:17 +0000 Subject: [PATCH] Added Sandia changes for BITS64, but commented out for now... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2298 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/wordsize.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/include/krb5/wordsize.h b/src/include/krb5/wordsize.h index dff8db5ec..71d6c9fae 100644 --- a/src/include/krb5/wordsize.h +++ b/src/include/krb5/wordsize.h @@ -51,6 +51,23 @@ typedef unsigned short krb5_ui_2; typedef unsigned int krb5_ui_4; #endif +#ifdef NOT_RIGHT_YET +/* + * Incorporated from the Sandia changes; but this can't be right; if + * we're on a 64 bit machine, an int shouldn't be 32 bits!?! + * [tytso:19920616.2224EDT] + */ +#ifdef BITS64 +#define __OK +typedef short krb5_int16; +typedef int krb5_int32; +typedef unsigned char krb5_octet; +typedef unsigned char krb5_ui_1; +typedef unsigned short krb5_ui_2; +typedef unsigned int krb5_ui_4; +#endif +#endif /* NOT RIGHT YET */ + #ifndef __OK ?==error: must define word size! #endif /* __OK */ -- 2.26.2