From: John Kohl Date: Wed, 9 May 1990 15:19:06 +0000 (+0000) Subject: add BIG, LSB/MSBFIRST X-Git-Tag: krb5-1.0-alpha2~604 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eee2258e0764dc5c391189c9fec01e56b32b9f48;p=krb5.git add BIG, LSB/MSBFIRST git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@801 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h index 902b1688a..a846b0e0f 100644 --- a/src/include/krb5/stock/config.h +++ b/src/include/krb5/stock/config.h @@ -19,15 +19,29 @@ #if defined(vax) || defined(__vax__) #define BITS32 +#define BIG +#define LSBFIRST #endif #if defined(ibm032) || defined(__ibm032__) #define BITS32 +#define BIG +#define MSBFIRST #endif #if defined(mips) || defined(__mips__) #define BITS32 -#endif +#define BIG +#ifdef MIPSEL +#define LSBFIRST +#else +#ifdef MIPSEB +#define MSBFIRST +#else + error: you must figure out if your MIPS is big or little endian +#endif /* MIPSEB */ +#endif /* MIPSEL */ +#endif /* mips */ #define PROVIDE_DES_CBC_CRC #define PROVIDE_CRC32