add BIG, LSB/MSBFIRST
authorJohn Kohl <jtkohl@mit.edu>
Wed, 9 May 1990 15:19:06 +0000 (15:19 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 9 May 1990 15:19:06 +0000 (15:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@801 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/stock/config.h

index 902b1688ac5af41b39a7ccbb2d061d815e7fa2a1..a846b0e0fb5fa6e41e2eccddc573e7328b974f16 100644 (file)
 
 #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