summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/stock/config.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/include/krb5/stock/config.h b/src/include/krb5/stock/config.h
index 902b1688ac..a846b0e0fb 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